Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    ticketevolution-python 0.1

    Download button

    No screenshots available
    Downloads: 92  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Derek Dahmer | More programs
    The Apache License 2.0 / FREE
    January 5th, 2012, 10:16 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    ticketevolution-python description

    TicketEvolution Python Library

    ticketevolution-python is a Python wrapper around the TicketEvolution broker exchange API.

    Installing

    Using pip (recommended)

    pip install ticketevolution

    From source:

    Download the latest ticketevolution-python library from:

    http://github.com/ticketevolution/ticketevolution-python

    Install the dependencies:

    pip install -r requirements.txt

    Untar the source distribution and run:

     python setup.py build
     python setup.py install


    Testing

    With setuptools installed:

     python setup.py test

    Without setuptools installed:

     python ticketevolution_test.py

    Using

    Look at the method documentation in ticketevolution.py for a more indepth overview.

    To create an API object with your credentials:

    import ticketevolution
    api = ticketevolution.Api(client_token = "abc",
     client_secret = "xyz")


    To make a GET request:

    result = api.get('/categories')
    print [c['name'] for c in result['categories']]


    To make a GET request with parameters:

    result = api.get('/categories', parameters = {
     'per_page':5
     'page_num':1
    })
    print [c['name'] for c in result['categories']]


    Making a POST request to create a new client

    result = api.post('/clients', body = {
     "clients": [{
     "name":"Will Smith"
     }]
    })



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    TicketEvolution wrapper | broker exchange | Python library | Python | TicketEvolution | wrapper

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM