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.131.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a42a2993af18247417445d3336dc96ffc7ff9ef1e75162bf3996260f61557a49 |
|
MD5 | b9e4f3edbee490dd7d2fff69f2cd58e1 |
|
BLAKE2b-256 | 65d5ea85b95d4d0475ce0104418e46a6787856a90f5a23bffc2f33f161e64e21 |
Close
Hashes for export_to_telegraph-0.0.131-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36b65ed9b57815a77153c8cebfd684668f298aa0c8804550dcf632a0fafb324f |
|
MD5 | 04a3d549e128882e14cc8c96c4f5c056 |
|
BLAKE2b-256 | 206053c86dc398ba784ead2ce66ff28107ce8ad29673bee71d9938fbd23bae0b |