Skip to main content

Python Plurk Api

Project description

poaurk

Plurk + Oauth Library modify from the work by (clsung's version)[https://github.com/clsung/plurk-oauth].

Replace python-oauth library to requests-oauthlib.

Installation

pip install poaurk

Example

# import package
from poaurk import (PlurkAPI, PlurkOAuth)

# Init a new plurk object
plurk = PlurkAPI("<consumer key>", "<consumer secret>")

# Authorize if no token
status, data = plurk.authorize()
if not status:
    # Failed
    print(data)

# Call api
status, data = plurk.callAPI('/APP/Profile/getOwnProfile') # status = True if successful
print(data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

poaurk-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file poaurk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: poaurk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for poaurk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac1eb282834ca0d7346774e28e20afdebbd541c1f039ef561cfb11699ea7708b
MD5 07e4fd6249bede844a77b099e413671d
BLAKE2b-256 5c640f03c7f28d2132645f95a781454cb6c25dfc03d39bf70dd521b6c61fdd66

See more details on using hashes here.

Supported by

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