Skip to main content

GogoKit is a lightweight, viagogo API client library for Python.

Project description

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Description: # The GogoKit Python Toolkit

[![Build Status](https://travis-ci.org/viagogo/gogokit.py.svg?branch=master)][travis]

[travis]: https://travis-ci.org/viagogo/gogokit.py
[apidocs]: http://developer.viagogo.net
[submitanissue]: https://github.com/viagogo/gogokit.py/issues
[apidocsgettingstarted]: http://developer.viagogo.net/#getting-started

Python toolkit for working with the viagogo API. Our [developer site][apidocs]
documents all of the viagogo APIs.


## Installation

Install via pip

pip install --upgrade gogokit

... or

easy_install --upgrade gogokit


## Usage

See our [developer site][apidocsgettingstarted] for more examples.

```python
from gogokit import ViagogoClient

# All methods require OAuth2 authentication. To get OAuth2 credentials for your
# application, see http://developer.viagogo.net/#authentication.
client = ViagogoClient(YOUR_CLIENT_ID, YOUR_CLIENT_SECRET)


# Get an access token. See http://developer.viagogo.net/#getting-access-tokens
token = client.oauth.get_client_access_token()
client.set_token(token)


# Get a list of events, categories, venues and metro areas that match the given
# search query
search = client.search.get_search_results({ "query": "Real Madrid" })

# Get the different event genres (see http://developer.viagogo.net/#entities)
genres = client.category.get_genres()
```


## How to contribute

All submissions are welcome. Fork the repository, read the rest of this README
file and make some changes. Once you're done with your changes send a pull
request. Thanks!


## Need Help? Found a bug?

Just [submit a issue][submitanissue] if you need any help. And, of course, feel
free to submit pull requests with bug fixes or changes.


## Supported Python Versions

This library aims to support and is [tested against][travis] the following Python
implementations:

* Python 2.6
* Python 2.7
* Python 3.3
* Python 3.4

If something doesn't work on one of these python versions, it's a bug.

This library may inadvertently work (or seem to work) on other Python
implementations, but support will only be provided for the versions listed
above.

If you would like this library to support another Python version, you may
volunteer to be a maintainer. Being a maintainer entails making sure all tests
run and pass on that implementation. When something breaks on your
implementation, you will be responsible for providing patches in a timely
fashion. If critical issues for a particular implementation exist at the time
of a major release, support for that Python version may be dropped.

Keywords: viagogo,rest,sdk,api
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gogokit-0.1.4.zip (13.6 kB view hashes)

Uploaded Source

Built Distribution

gogokit-0.1.4-py2.py3-none-any.whl (11.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page