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.139.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cca2e0f2539b8a388884812034c3ddb1562ba3c524ff0bf31b9d19a4265555d1 |
|
MD5 | a3af9eaf43de02325b69cf36fdd23c6f |
|
BLAKE2b-256 | 13f5dc60e9b068ca73e124dbe94ad830574f2e7ef775a2767959b094da5e92b0 |
Close
Hashes for export_to_telegraph-0.0.139-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba16744d337996c606c3c6f71a98987f3ba95fb39f914e0a03ad3e39e19d5b9d |
|
MD5 | fa4a8301b86447e3930d705615e8275c |
|
BLAKE2b-256 | cde569675a465db6d61482c133bbd843bece07366e1ff9832e9a2194f38d8904 |