0.0
No commit activity in last 3 years
No release in over 3 years
Uses the Morphbank API to query and return results from the Morphbank database.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

rubyMorphbank¶ ↑

Description¶ ↑

rubyMorphbank is a request/response Ruby gem library for the Morphbank (morphbank.net) API.

Installation¶ ↑

gem install rubyMorphbank

Usage¶ ↑

See the tests (test/test_rubyMorphbank.rb) for usage.

Basic pattern¶ ↑

request = Rmb.new.request 
response = request.get_response

Return the request URL¶ ↑

request = Rmb.new.request 
request.request_url             # => "http://services.morphbank.net/mb3/request?method=search&depth=1&firstResult=0&format=id&keywords=&limit=10&objecttype=Image"

Return a link to a thumbnail in a call for a single image¶ ↑

foo =  Rmb.new.request(:format => 'svc', :id => 195815, :method => 'id')
uri = foo.get_response.get_text('thumbUrl')

Copyright © 2010 mjy. See LICENSE for details.

More information¶ ↑