Package: gogokit
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-startedPython toolkit for working with the viagogo API. Our [developer site][apidocs]
documents all of the viagogo APIs.## InstallationInstall via pippip install –upgrade gogokit… oreasy_install –upgrade gogokit## UsageSee our [developer site][apidocsgettingstarted] for more examples.python
from gogokit import ViagogoClient# All methods require OAuth2 authentication. To get OAuth2 credentials for your
# application, seehttp://developer.viagogo.net/#authentication.
client = ViagogoClient(YOUR_CLIENT_ID, YOUR_CLIENT_SECRET)# Get an access token. Seehttp://developer.viagogo.net/#getting-access-tokenstoken = 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 (seehttp://developer.viagogo.net/#entities)
genres = client.category.get_genres()## How to contributeAll 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 VersionsThis library aims to support and is [tested against][travis] the following Python
implementations:Python 2.6Python 2.7Python 3.3Python 3.4If 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
Description-Content-Type: text/markdown