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.144.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ffbe71ac026e6170611be981ab017d52206c0289d8afcd76274ca883a3c9b51 |
|
MD5 | b5ef4e5b03de2c8ba6ec0ed607db0efe |
|
BLAKE2b-256 | f612ee24ce916ef5efe5644285b862b04702958fc5444d8706a20f3fbb23513a |
Close
Hashes for export_to_telegraph-0.0.144-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e6f3ab1ec14ea6518fd5d8718e6d6fd2d53ab7cf88357b4e5f1cd6144f4c446 |
|
MD5 | c81a19227b3a150f26e54aadd80cc731 |
|
BLAKE2b-256 | b89bad053d2409a1197388271679b1ee16418c579e6f66de080db2360a591b53 |