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.130.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945879ee4659b809acc054915e403473f8adde4d3eb708310b227b8972347872 |
|
MD5 | b7b1937cac1b3451e3a77f420370e08d |
|
BLAKE2b-256 | dbed2d6633d9e0631a6ba1ab70b3afb5f945eb063cc59798bf6aa61b7f317d5a |
Close
Hashes for export_to_telegraph-0.0.130-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea92c2b1d430064bf7a867c6c8287b56d1c823ba8ffcc779dcd51cc500d8bca7 |
|
MD5 | 123247ebafa7fdaa1dcb63d31825c676 |
|
BLAKE2b-256 | ad8982f152127eee76c45c6940489cedf7a8143c468197b1525dd2edb6d3070c |