Skip to main content

Telegraph API wrapper

Project description

Telegraph

Build Status PyPI Python Versions License

Python Telegraph API wrapper

Example

from telegraph import Telegraph

telegraph = Telegraph()

telegraph.create_account(short_name='1337')

response = telegraph.create_page(
    'Hey',
    html_content='<p>Hello, world!</p>'
)

print('https://telegra.ph/{}'.format(response['path']))

Installation

$ pip install telegraph

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for telegraph, version 1.4.1
Filename, size File type Python version Upload date Hashes
Filename, size telegraph-1.4.1.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page