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.136.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 054b72d0582411e08652127311e84ffe36ef0a01306ecfaabe37f598f221c359 |
|
MD5 | f2499f42cb9bcbae1422bf42b295c264 |
|
BLAKE2b-256 | 9d56d83872890e3ac07835d5987c346d305ec70c37aba04b0e6eacb6d1c83fcf |
Close
Hashes for export_to_telegraph-0.0.136-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 863160d41c59b095dad1ec4551fa505f5050cbb8b52da78522f03989ab913950 |
|
MD5 | 1bd74e9757b4c27939ff8d4cd0b1ed86 |
|
BLAKE2b-256 | 77eee8c7bca4c0d5e7627bae0b0eb3b01015a84fedcd49947622fec27eb86fc5 |