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.146.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af93fa89e55c5f7ad7a58de6099022cd6a10f5299fa6b18f87f4451c84aa24a8 |
|
MD5 | 684a7a200acd634f5d1a0656fcb09076 |
|
BLAKE2b-256 | be658262a30f083ae2de372b6930d53bc6aeba9d9d673529c3658c7001747e51 |
Close
Hashes for export_to_telegraph-0.0.146-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b1ac297d2a9fac03de5617c28f4109516f09748b41651374989201703a8ac3 |
|
MD5 | 728e68c33ee8bee74a49298fbeba9285 |
|
BLAKE2b-256 | 95c5c5e006ffa81093d70e585969bc4f6dfc50c55d22323783375967f52a3ceb |