Skip to content

amanbabuhemant/HTMLifyAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTMLifyAPI

The HTMLify API wrapper

Instalation:

pip install git+https://GitHub.com/AmanBabuHemant/HTMLifyAPI.git

Usage

from HTMLifyAPI import HTMLify

htmlify = HTMLify("username", "api_key", "https://HTMLify.artizote.com")

# creating a file on HTMLify by API

file = htmlify.create(
    "Hello World",
    "hello.txt"
)

# this will create a file at /your_username/hello.txt which containing "Hello World"
# and also return an HTMLify File object
# you can get file url, like this:

print(file.url) # this will print file URL

# creating shortlink from url

short = htmlify.shortlink("https://example.com/your/long/long/long/long/url")

print(short.url)

more functnalities will add soon.

You can get your HTMLify API key from here

About

API wrapper for HTMLify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages