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

Uploaded Source

Built Distribution

export_to_telegraph-0.0.150-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for export_to_telegraph-0.0.150.tar.gz
Algorithm Hash digest
SHA256 f5217f298f4cccc5d26cc4f7400f563a6714c54f90f268359a89c64c6e17e98e
MD5 fe9138dc99c5885a19dc2a1057f23468
BLAKE2b-256 ff4e04e0c4194585f7d97928ae2d322bce161c19d358b693132f00d16f61097d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for export_to_telegraph-0.0.150-py3-none-any.whl
Algorithm Hash digest
SHA256 a12e731587fa1faa598e4b73c8af763eb4495fbe33ee61f972886864254c7cea
MD5 7a1e3db93295d7cafaf0fc1b9530879f
BLAKE2b-256 d8198a679712636d9952086fcb4976b6764d25db84b72a74c82c163e91b2d2fc

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