Skip to content

CodeCantor/rnvivo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nvivo API digester

A small Ruby class for consuming Nvivo API.

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, released under the MIT license

About

Ruby client for Nvivo API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%