Giter Club home page Giter Club logo

podio-py's Introduction

No Maintenance Intended

PyPodio

Python wrapper for the Podio API.

Install

Dependencies

  • httplib2

PyPodio is not yet available on PyPI, we're waiting to have it a bit more stable. Install by cloning from the GitHub repo:

$ git clone git://github.com/podio/podio-py.git
$ cp -r podio-py/pypodio2 path/to/destination

Alternatively, install via pip:

$ pip install -e git+https://github.com/podio/podio-py.git#egg=podio-py

Example

from pypodio2 import api
from client_settings import *

c = api.OAuthClient(
    client_id,
    client_secret,
    username,
    password,    
)
print c.Item.find(22342)

Notes

It is possible to override the default response handler by passing handler as a keyword argument to a transport function call. For example:

x = lambda x,y: (x,y)
result = c.Item.find(11007, basic=True, handler=x)
($result, $data) #Returned info

Tests

To run tests for the API wrapper, you need two additional dependencies:

  • mock
  • nose

With those installed, run nosetests from the repository's root directory.

Meta

podio-py's People

Contributors

petri avatar r14c avatar steuke avatar andrecp avatar ojrac avatar troelsim avatar paulpaul168 avatar splack avatar pulczynski avatar cmchase avatar kwilcox avatar mgerring avatar filchambers avatar basiisania avatar sebgoa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.