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.133.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8b0969c2ea69bc95ebba41f74dbc88109161598329ab1837e34475f4f33c50c |
|
MD5 | d0841c7ea8a1e5bde0e117aac8ac0680 |
|
BLAKE2b-256 | 3d77235edec0f359b83c1b262f70ca5ac5698164737cfa86550e8cfacdbf2019 |
Close
Hashes for export_to_telegraph-0.0.133-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1233abc9d152ca335ae7544130d87dfa7f7d9b2697e62abaea89235a2eba26bd |
|
MD5 | ac7581f0dc4f81935672915ee623f698 |
|
BLAKE2b-256 | e718ef3f562614df34c6649d22cdc5169f3ace2b9fb3ce809897ca0023ea8678 |