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.143.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb9bc587d7a71e5cbe193c44858ec7bfd44f1688d1c0f2ef062d0d4c5530602 |
|
MD5 | cad03251d7665146f52f7a492d6e96e1 |
|
BLAKE2b-256 | 8176f04312b2f4b0729743b4a0dd1323e1616f43d8cf9ea105229a5ecae9c207 |
Close
Hashes for export_to_telegraph-0.0.143-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20afe16e870f7fdbefa919900571319fad59f98770e9074bb7f8696a7f9be6bb |
|
MD5 | 28afbeedac2ffff28831ad83b0e04921 |
|
BLAKE2b-256 | bda2b7eb2e63380c86d4d7e59d165d9490a98ae117e64a546bc18ee143b37cf6 |