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
Release files for export-to-telegraph 0.0.151
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| export_to_telegraph-0.0.151.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| export_to_telegraph-0.0.151-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.4 kB
Release files / export_to_telegraph-0.0.151.tar.gz
| Download URL | export_to_telegraph-0.0.151.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aebe217be16604c44d5034657aa1a79ee349919f710256142b9e7356035b352a
|
|
BLAKE2b-256 checksum How to use checksums |
a860c45e8223051affb8c1c3633490fcd02268145ec039778d6ef70e248402a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.10
|
Release files / export_to_telegraph-0.0.151-py3-none-any.whl
| Download URL | export_to_telegraph-0.0.151-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7961833ab69f66ee182f7341243b2d79a409289c55e3064873222b3ff16d1566
|
|
BLAKE2b-256 checksum How to use checksums |
d0d4e5a2893912801241336fdd898298595bf38e11ba9e0168b418d8ab8548e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.10
|