Telegraph API wrapper
Project description
Telegraph
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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c3593a9dc2b381e941b3d36fcd31d40bf306ec1f0d222d07ce87efebfce070 |
|
MD5 | 95fe9cc3613dccf6c60f41249f6abdff |
|
BLAKE2b-256 | df383a554c1dcaf10ef8c644b69928e6121333b116238c4471faa9a180ddac93 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab540a9e7393870c66cd34e048f161cbba9b65271ff2aae06c58d7aa69fcda64 |
|
MD5 | 5e0c8ff6c40a85400e5ef536599c21fb |
|
BLAKE2b-256 | d20e76fdf9cab0e5a2affbf66ed5c342615de658522b312734e12a72a46f87c0 |