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.137.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 866824853f8df5bb5bdb013beb15b832c86ffcb73e3042856163db10fce73865 |
|
MD5 | 4d0ef979736cd3b917103f0ea339dc8d |
|
BLAKE2b-256 | be0dc3af023a6b7e16a6a526c87575067570f268a399fcc48af80268510ad778 |
Close
Hashes for export_to_telegraph-0.0.137-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5dd29fc5662d56adbcc95998a5f3f02ba32d2e152c8021662dba01fd41cc0e7 |
|
MD5 | cf3434a292f0e2f348f0cc85df106980 |
|
BLAKE2b-256 | 80288b160aa119ad725ff223c46f2776195ab02d5bdac699d5648483c54a2dd7 |