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.142.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20efef3b2b0f50f0bc8ea9e83946a3009e7911a2360a83c69e9219ca1a9754be |
|
MD5 | 2a227200cc7c05852bfe7da79c1aa82c |
|
BLAKE2b-256 | 0294fab13879a7af9016cd2e3d72975042d03facbe82afa7787ae73aca6d00b1 |
Close
Hashes for export_to_telegraph-0.0.142-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1098ffdf853c9531bbfc8b79fbf418a6e8587de7699e727d4d632f51f93c3825 |
|
MD5 | b64a7b9c38276381b4d5314e894f7e10 |
|
BLAKE2b-256 | 2f5080be082aa57af72c1bd39584516e5f86d04da39a1f30feabd3414e480ceb |