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.132.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f814bda758d646a87e2db186e8020124b776fadda9c57caf5ed773ecdea72380 |
|
MD5 | 96d8a3afd0ce1143c008afc30a988bb6 |
|
BLAKE2b-256 | a7c41154fa3adccfac31f5b740768d240be09ce50c4df2a1d5f3a80116832056 |
Close
Hashes for export_to_telegraph-0.0.132-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08987bfbf516939ec210333033b151b0198071fc3e144f2b1c066f1128e31837 |
|
MD5 | 7947190ea9e0e137f8032d27375213da |
|
BLAKE2b-256 | 613e8a7633ff197c73f5f0cbf5cf88b3c93ff83a1d902a754b2915bac5e03ed7 |