Skip to content

ASCTech/kmdata-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KMData

A simple API wrapper for interacting with the KMData Project.

Installation

Add this line to your application's Gemfile:

gem 'kmdata'

And then execute:

$ bundle

Or install it yourself as:

$ gem install kmdata

Usage

terms = KMData.get('terms')
terms.each do |term|
  puts term.description
end

resource_id = KMData.get('people', { q: 'Decot' }).first.resource_id
person = KMData.get("people/#{resource_id}")
puts person.display_name

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Rubygem for interacting w/ KMData

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages