Skip to main content

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

export_to_telegraph-0.0.151.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

export_to_telegraph-0.0.151-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file export_to_telegraph-0.0.151.tar.gz.

File metadata

  • Download URL: export_to_telegraph-0.0.151.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.10

File hashes

Hashes for export_to_telegraph-0.0.151.tar.gz
Algorithm Hash digest
SHA256 aebe217be16604c44d5034657aa1a79ee349919f710256142b9e7356035b352a
MD5 e559fc8473a80570789419cba2d4e1c4
BLAKE2b-256 a860c45e8223051affb8c1c3633490fcd02268145ec039778d6ef70e248402a1

See more details on using hashes here.

File details

Details for the file export_to_telegraph-0.0.151-py3-none-any.whl.

File metadata

File hashes

Hashes for export_to_telegraph-0.0.151-py3-none-any.whl
Algorithm Hash digest
SHA256 7961833ab69f66ee182f7341243b2d79a409289c55e3064873222b3ff16d1566
MD5 60e7c3340096320636cc57a960a3ac0d
BLAKE2b-256 d0d4e5a2893912801241336fdd898298595bf38e11ba9e0168b418d8ab8548e8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page