Skip to main content

Telegraph API wrapper

Project description

Telegraph

PyPI Python Versions License

Python Telegraph API wrapper

$ python3 -m pip install telegraph

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(response['url'])

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-2.0.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

telegraph-2.0.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: telegraph-2.0.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for telegraph-2.0.0.tar.gz
Algorithm Hash digest
SHA256 cf8d97f7c5c1e6f42dade103b164480559595e693f2fd82f58211757cf6507fc
MD5 8ae7e0d9df20ea611efe43abf475579e
BLAKE2b-256 23001e6cbf5fc1a71eeb77670352f1f66b31aa59a49d6d3e5270f5be8afa91f3

See more details on using hashes here.

File details

Details for the file telegraph-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: telegraph-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for telegraph-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e23108965a0cdeeb8c34d641fa87b78bd6a0322a2a94a051952966823fd4f743
MD5 843646e3e8affe7b247e926c87dc1042
BLAKE2b-256 392af5c83a229403c8e4ad398c3821c56b88c057523a2dcdf57062e4cd10ff35

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