The Python module for Telegraph API.
You can easily download this module via
pip install dreamgraph
from dreamgraph import LogIn client = LogIn('ACCESS_TOKEN')NOTE: ACCESS_TOKEN is your access token for your Telegraph account.
from dreamgraph import NewAccount client = NewAccount(short_name='Short_name', author_name='Your_Name', author_url='https://your_address.com')
details = client.get_account_info() print(details)
NOTE: the function returns a dictionary object with all necessary values.