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.140.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaa0bd5ec19536e315fe69e5f81a66492fd29af84186950dda3e22a1c3748423 |
|
MD5 | 6358b26e507d55325fc0cf5ad9aef860 |
|
BLAKE2b-256 | a57202c50847726c866517fc64a14c2a4e225427be83ff79e2c266c639ffcdc4 |
Close
Hashes for export_to_telegraph-0.0.140-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 899ec647296c660db4b77947caaf89c1ecb1d75e292916f2d6b48e592a78cea3 |
|
MD5 | 506916f8eb15d89fb6135ad06873ee58 |
|
BLAKE2b-256 | fb9b20aaf5af4f33e3c3c572a4daf9f96288c2298a9b4d8ef7fc2199d57cccb6 |