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.129.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10a0654c395ba6cfe34a383a2b772b0be22e41504dd93c039926dc589ab86e24 |
|
MD5 | 40f2b518c2a4f24bd7f45f0c76776612 |
|
BLAKE2b-256 | 0857eaacb16d957e466c122f8ee696585c4086fea46994c71597391c389b402a |
Close
Hashes for export_to_telegraph-0.0.129-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd93570b1cf86fde181ef9efeb0fb16d39799b06082892a296b9c5873316517 |
|
MD5 | 351e84d4d4ccb17a64fc2a4e1cba7e17 |
|
BLAKE2b-256 | cc86a4a47b5b744d07cd831f2ca69e870273168cc243d64836e0f7ad48047d04 |