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.138.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8154b49d13ec81b5c1d93776caced20e81304bc9f4f0fd5a69a10eae78200aa |
|
MD5 | 755cf61dc86b114ca63a44ce697477ff |
|
BLAKE2b-256 | a11bf80dc1fcf34d98e5e04528dfc3e5b070d055a39bf45f3b73ac0a4c18a75d |
Close
Hashes for export_to_telegraph-0.0.138-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 369d7f5eaed7171e22082222ec4b083c1ac94c8a62ffbad0c391eba5f5f5ab6c |
|
MD5 | 5cbf39e0512f68af76e5ef0b5a0238c0 |
|
BLAKE2b-256 | a9cb1445c1fd9e8289f1aa165f6a3c3faf4ccfb0968bf805f55d06e7dd49681a |