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

Project details


Download files

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

Source Distribution

telegraph-1.4.1.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file telegraph-1.4.1.tar.gz.

File metadata

  • Download URL: telegraph-1.4.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/2.7.15

File hashes

Hashes for telegraph-1.4.1.tar.gz
Algorithm Hash digest
SHA256 b89dc9817d2dc287462bd480d9f207baa1d01ffc3c9c2ac1190d038b59fa8c73
MD5 c739bec63db656ea9ce7fda68f3e7e3a
BLAKE2b-256 b195b3e8f98479fd7ae3f3b9582a86c0f87354bca21b602d4e15180a640e1ef4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page