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.135.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecd71cdba437f6bdd571f4a727cd5e9d6fb87dbef55e4f792285e563c867ab10 |
|
MD5 | 28f2e673234fa7bed8f5bf50a0988f8c |
|
BLAKE2b-256 | dd23ce451fa654cf59100d259657d33b194de05321c7889a78b5704ab98431a9 |
Close
Hashes for export_to_telegraph-0.0.135-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 056617a32e50f375079e0564c71a09e0c10148ed48978b0c39f4a035ce616724 |
|
MD5 | 40551aa9cbe1f6f510406f187d01b181 |
|
BLAKE2b-256 | f12f541fecfac454a7f11e34a5fb397a2d8b2680c2aa6d612a81a3ea32b0aba4 |