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.150.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5217f298f4cccc5d26cc4f7400f563a6714c54f90f268359a89c64c6e17e98e |
|
MD5 | fe9138dc99c5885a19dc2a1057f23468 |
|
BLAKE2b-256 | ff4e04e0c4194585f7d97928ae2d322bce161c19d358b693132f00d16f61097d |
Close
Hashes for export_to_telegraph-0.0.150-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a12e731587fa1faa598e4b73c8af763eb4495fbe33ee61f972886864254c7cea |
|
MD5 | 7a1e3db93295d7cafaf0fc1b9530879f |
|
BLAKE2b-256 | d8198a679712636d9952086fcb4976b6764d25db84b72a74c82c163e91b2d2fc |