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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: export_to_telegraph-0.0.147.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.147.tar.gz
Algorithm Hash digest
SHA256 55d1ceb56b4793fdf6b6c97776c1523c6709578adfe983c19331d5a5b31a8d25
MD5 546f9c9604ee5f2d05d00395bdbee3e6
BLAKE2b-256 9aff803313053203ec13af0dfa5426ca3e0eeea5c0dc6cee1df512e747bce563

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for export_to_telegraph-0.0.147-py3-none-any.whl
Algorithm Hash digest
SHA256 d4df1e4795eb19fdbfe5da71811efb6955ff4ff6ded136d3efefa96852a0068a
MD5 40c3de14bc4fb36502cf977a9a5ceda6
BLAKE2b-256 1795f6049df50c39c00d29a163b2ca83ed351f35451cbe4fde3ec630e606d05e

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