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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telegraph-1.3.0-py2-none-any.whl (7.2 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: telegraph-1.3.0.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.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.15

File hashes

Hashes for telegraph-1.3.0.tar.gz
Algorithm Hash digest
SHA256 65c3593a9dc2b381e941b3d36fcd31d40bf306ec1f0d222d07ce87efebfce070
MD5 95fe9cc3613dccf6c60f41249f6abdff
BLAKE2b-256 df383a554c1dcaf10ef8c644b69928e6121333b116238c4471faa9a180ddac93

See more details on using hashes here.

File details

Details for the file telegraph-1.3.0-py2-none-any.whl.

File metadata

  • Download URL: telegraph-1.3.0-py2-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.15

File hashes

Hashes for telegraph-1.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 ab540a9e7393870c66cd34e048f161cbba9b65271ff2aae06c58d7aa69fcda64
MD5 5e0c8ff6c40a85400e5ef536599c21fb
BLAKE2b-256 d20e76fdf9cab0e5a2affbf66ed5c342615de658522b312734e12a72a46f87c0

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