ferblape / rnvivo
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
commit 9ca0091b8a248f54f564d4cdcdc499a28a5468b1
tree b32aa6148d455d7250e2450a9040ca54b54992c4
parent 0bd4fcd8290061701cde906a1378b72f6100e6ca
tree b32aa6148d455d7250e2450a9040ca54b54992c4
parent 0bd4fcd8290061701cde906a1378b72f6100e6ca
rnvivo /
README
# Nvivo API digester A small Ruby class for consuming [Nvivo API](http://www.nvivo.es/api/index.php). Requires (all them installable with `sudo gem install`): - rubygems - httparty - mocha - timeout ## How to use it At the moment, only the method `getCityEvents` is implemented: events = Nvivo.new(NVIVO_API_KEY).cityGetEvents(city_name, iso_country_code) It returns an array of hashes with the name and the nvivo URL of each one: 'events' => { 'event' => [ { 'name' => 'Wadus event', 'url' => 'http://wadus.com/wadus-event' }, { 'name' => 'Wadus event 2', 'url' => 'http://wadus.com/wadus-event-2' } ] } Very simple. ## TODO - implement the rest of the API methods Copyright (c) 2009 [Fernando Blat](http://www.inwebwetrust.net), released under the MIT license

