Metadata-Version: 2.1
Name: poaurk
Version: 0.1.0
Summary: Python Plurk Api
Home-page: https://github.com/dephilia/poaurk
Author: Dephilia
Author-email: me@dephilia.moe
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/dephilia/poaurk/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# 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

```python
# 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)

```


