Light Plurk API 2.0 Oauth Library
Project description
poaurk
Light plurk + Oauth Library
Installation
pip install poaurk
Example
Authorize and get profile
import asyncio
import aiohttp
from poaurk import OauthCred, PlurkOAuth
cred = OauthCred(customer_key='your key from plurk',
customer_secret='your secret from plurk',
token='optional token',
token_secret='optional token secret'
)
async def main():
async with aiohttp.ClientSession() as session:
oauth = PlurkOAuth(cred, session)
await oauth.authorize()
r = await oauth.request('/APP/Timeline/getPlurk', {'plurk_id': '123'})
print(r)
asyncio.run(main())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
poaurk-0.4.0.tar.gz
(6.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poaurk-0.4.0.tar.gz.
File metadata
- Download URL: poaurk-0.4.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67c08029db468528ec1c6446221f006da52d3f3def83723a984ac56983f6db18
|
|
| MD5 |
09525701048931c122d484c17017c9eb
|
|
| BLAKE2b-256 |
d137c1a3d974a935686769acc33ada5ca56075f1cadf15d77c6656a12aa81790
|
File details
Details for the file poaurk-0.4.0-py3-none-any.whl.
File metadata
- Download URL: poaurk-0.4.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1296f4ee95ff0c357c2bab4f03f2e2cf9fa0345e6646b5ce7b366c5cbedf632
|
|
| MD5 |
026ead257e7499983c064cad539884d8
|
|
| BLAKE2b-256 |
17affdf5de43cc829cefa7204f35cde6a234948fa357f7d0b441c7f4c76b4171
|