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.149.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eef493a7a9bae7e710c2bae0c359542c9b4751f11696c95e5ca62d595575d6b |
|
MD5 | 29470bca01449f0c4722f522c89eaa23 |
|
BLAKE2b-256 | 5d6a070924147ae29d3b898649702356f680b23b8c8756f090c5bcdb26f05942 |
Close
Hashes for export_to_telegraph-0.0.149-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d57ca46b657beb4012bdec67d6a3c608173a394d11812a974cd281b056aa2d2 |
|
MD5 | b4cb37caab74253ca7670edac735f5e2 |
|
BLAKE2b-256 | 6a978f39bb39e5f99c7331051923d65f2e5b57d7706f642e2b3c5d8ad12bf2ea |