The Python module for Telegraph API


Keywords
telegraph, telegraph-api, python-module, dreamgraph, python, python-library
License
GPL-3.0
Install
pip install dreamgraph==1.1.6

Documentation

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 method.

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