Skip to content

Poolitzer/DreamGraph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DreamGraph

The Python module for Telegraph API.

You can easily download this module via

pip install dreamgraph

Examples

Your account

1. If you have an existing account, use LogIn method.


from dreamgraph import LogIn
client = LogIn('ACCESS_TOKEN')
NOTE: ACCESS_TOKEN is your access token for your Telegraph account.

2. In order to create new Telegraph account use NewAccount method.


from dreamgraph import NewAccount
client = NewAccount(short_name='Short_name', author_name='Your_Name', author_url='https://your_address.com')

Account info

Getting your account details is much easier, just use get_account_info function.

details = client.get_account_info()
print(details)

NOTE: the function returns a dictionary object with all necessary values.

The Docs

The full documentation of this module will be published soon. Once it is ready, the link will be posted here.

Comments and bug reports

Community: Telegram Group

Personal contact: FutureDreams

About

DreamGraph - the Python module for Telegraph API.

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE.txt
GPL-3.0
COPYING

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%