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.145.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9468f3f024fb04eb408088a93cd30675e17611f83098a999110707f5b11482e1 |
|
MD5 | f3e3794705c427d67ce236303851f39d |
|
BLAKE2b-256 | 14304c6639bc7ce0a4d49a13812abcd24071d084151bbbc47917f72a10c340a9 |
Close
Hashes for export_to_telegraph-0.0.145-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d1b1d8571e1edba0a375330172e37f7d50d71e44318a2d28191a1eba2da1d67 |
|
MD5 | 97669327cfeb51238299a2a682ee9e20 |
|
BLAKE2b-256 | 711076fbd0dff9e14fcd656c478cb846646433c13b52625ad83e60fd72d25da8 |