Library for export webpage to Telegraph.
Project description
export_to_telegraph
Library for export webpage to Telegraph.
usage
import export_to_telegraph
export_to_telegraph.TOKEN = YOUR_TELEGRAPH_TOKEN
telegraph_url = export_to_telegraph.export(webpage_url)
If export failed, telegraph_url
will be None.
how to generate token
Token is not needed if you don't plan to edit the generated telegraph.
Example code:
from html_telegraph_poster import TelegraphPoster
poster = TelegraphPoster()
api_response = poster.create_api_token(shortname, longname)
token = api_response['access_token']
how to install
pip3 install export_to_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
Built Distribution
File details
Details for the file export_to_telegraph-0.0.141.tar.gz
.
File metadata
- Download URL: export_to_telegraph-0.0.141.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe044181e857d483da93e078f2799e35f03d8ec5518b9b8f3072f382305b2ec |
|
MD5 | 652b244ae4783b3ff76d20ec59fc44e6 |
|
BLAKE2b-256 | cfcc5dbf7061b69e555cf14c96cff18c34c74482185381c4471f7a92a22e1e8b |
File details
Details for the file export_to_telegraph-0.0.141-py3-none-any.whl
.
File metadata
- Download URL: export_to_telegraph-0.0.141-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1033f73c0c514e1b5dbda7643fe6cde08e336fae8e18dbc82140f2c4623125db |
|
MD5 | 028d90bee5c28ba538777c2b9fe5b896 |
|
BLAKE2b-256 | dce3ab38587f4a0587a442e6230c07184e6cf32700957c142d70ebeecf859e41 |