This provides a simple OAuth wrapper for Plurk 2.0 API. Note that this is NOT a full wrapper of the API.
pip install plurk-api
from plurk_api import PlurkOAuthApi
api = PlurkOAuthApi("<App Key>", "<App Sercet>")
request_token = api.request_token()
authorization_url = api.authorization_url(request_token)
# Let the user give you back the verifier
access_token = api.access_token(request_token, "<verifier>")
from plurk_api import PlurkApi
api = PlurkApi("<App Key>", "<App Sercet>", access_token["oauth_token"], access_token["oauth_token_secret"])
response = api.request("/APP/Profile/getPublicProfile", {"user_id": 12345})
Documentation is available here.