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
Close
Hashes for export_to_telegraph-0.0.141.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe044181e857d483da93e078f2799e35f03d8ec5518b9b8f3072f382305b2ec |
|
MD5 | 652b244ae4783b3ff76d20ec59fc44e6 |
|
BLAKE2b-256 | cfcc5dbf7061b69e555cf14c96cff18c34c74482185381c4471f7a92a22e1e8b |
Close
Hashes for export_to_telegraph-0.0.141-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1033f73c0c514e1b5dbda7643fe6cde08e336fae8e18dbc82140f2c4623125db |
|
MD5 | 028d90bee5c28ba538777c2b9fe5b896 |
|
BLAKE2b-256 | dce3ab38587f4a0587a442e6230c07184e6cf32700957c142d70ebeecf859e41 |