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

Uploaded Source

File details

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

File metadata

  • Download URL: telegraph-1.3.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.3.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.14

File hashes

Hashes for telegraph-1.3.2.tar.gz
Algorithm Hash digest
SHA256 a8bc8dacc27544fa3ab8f0ad72a654c8fe94ef6bf8fc6b02852e77b9940aa476
MD5 c5d1a3a42124f84683154a5afa448873
BLAKE2b-256 efeb16115354b84fdb389e74e3dd7131af8277b54ed91eb696d2ffd57aa58807

See more details on using hashes here.

Supported by

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