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.136.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

export_to_telegraph-0.0.136-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: export_to_telegraph-0.0.136.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for export_to_telegraph-0.0.136.tar.gz
Algorithm Hash digest
SHA256 054b72d0582411e08652127311e84ffe36ef0a01306ecfaabe37f598f221c359
MD5 f2499f42cb9bcbae1422bf42b295c264
BLAKE2b-256 9d56d83872890e3ac07835d5987c346d305ec70c37aba04b0e6eacb6d1c83fcf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: export_to_telegraph-0.0.136-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for export_to_telegraph-0.0.136-py3-none-any.whl
Algorithm Hash digest
SHA256 863160d41c59b095dad1ec4551fa505f5050cbb8b52da78522f03989ab913950
MD5 1bd74e9757b4c27939ff8d4cd0b1ed86
BLAKE2b-256 77eee8c7bca4c0d5e7627bae0b0eb3b01015a84fedcd49947622fec27eb86fc5

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