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

Uploaded Source

File details

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

File metadata

  • Download URL: telegraph-1.4.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

File hashes

Hashes for telegraph-1.4.0.tar.gz
Algorithm Hash digest
SHA256 3ee09f9d528fa66bd44b4d60f951408e05d213a26ee92206f34567a7a51c29cc
MD5 1734e6c0f10a29d0afd95e51f312b261
BLAKE2b-256 74d5e9a86c8325be48a66294501fd847b0ab16a96e20c373428e0b0974350ee1

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