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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: export_to_telegraph-0.0.135.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.135.tar.gz
Algorithm Hash digest
SHA256 ecd71cdba437f6bdd571f4a727cd5e9d6fb87dbef55e4f792285e563c867ab10
MD5 28f2e673234fa7bed8f5bf50a0988f8c
BLAKE2b-256 dd23ce451fa654cf59100d259657d33b194de05321c7889a78b5704ab98431a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: export_to_telegraph-0.0.135-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.135-py3-none-any.whl
Algorithm Hash digest
SHA256 056617a32e50f375079e0564c71a09e0c10148ed48978b0c39f4a035ce616724
MD5 40551aa9cbe1f6f510406f187d01b181
BLAKE2b-256 f12f541fecfac454a7f11e34a5fb397a2d8b2680c2aa6d612a81a3ea32b0aba4

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