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.134.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b7d1ceb37898c5dab905306940c4c9c5705e07673d36ab807644ab4db353d9c |
|
MD5 | 646f34a01b08a3214530062ddbfb911e |
|
BLAKE2b-256 | 3054595b0e51f0d9fdfd68a8a5ae4325167b22d2f1e5fcd92c77faaf7c7865dc |
Close
Hashes for export_to_telegraph-0.0.134-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c349394f176a09cc5850b09bafa913682f4b91b8d5a962ee09725bad2b32a4f3 |
|
MD5 | f822fff13e63b6b105e7ec7c124b29d2 |
|
BLAKE2b-256 | 3b219eebd5590491347bd494aa9699a3c0816d20d1a5778b293d1e82136440b5 |