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.148.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 314c224214518240e723117eda6dbe74437a0ea1191c8d5fcc3fe445518cc708 |
|
MD5 | a0006dd0aa6ce319cacea641eb2527da |
|
BLAKE2b-256 | 67ed2b898d744e1b5681b69fec7e4f7212c99e8d2c55493b1647cd271675f724 |
Close
Hashes for export_to_telegraph-0.0.148-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da83c4eb14520c4d2bc544644f04b29029f4f4f1932d9c100f64fb4855c92a6d |
|
MD5 | 3a7b5384ace1e26cc9427dcabda5649b |
|
BLAKE2b-256 | eb6fd85f233e0a296bfa3d91d742be3daa731a4368ac9fa18dbfae83b6c6b3cd |