Podio Python Client
Note: Citrix does not maintain these libraries. We encourage customers to fork the library code and make any required fixes to continue using these libraries.
A Python client interace for the API is available on GitHub and PyPI. Currently authentication and the app/item APIs are supported in their entirety, while some user and space functions are also available.
The client currently depends on two packages: Dolt and httplib2, both of which are available on PyPI and will be installed if PIP or setuptools are used to install PyPodio.
You can also install by cloning from the GitHub repo:
git clone git://github.com/podio/podio-py.git
To make API calls import PyPodio and instantiate a Podio object, passing in the client ID and client secret as part of the constructor. Once that is created, request an OAuth Token with:
Username/password authentication is also supported:
from pypodio2 import api from client_settings import * c = api.OAuthClient( client_id, client_secret, username, password, ) print c.Items.get_item(22342)
Refreshing the token will be handled transparently by the client, a failure will throw an ApiErrorException.