Ruby interface for Scientist.com's (formerly Assay Depot's) research services marketplace (http://www.scientist.com).
An authentication token is required for the API to function. If you would like access to the API, please email [email protected].
Add this line to your application's Gemfile:
gem 'assaydepot'
And then execute:
$ bundle
Or install it yourself as:
$ gem install assaydepot
require 'assaydepot'
AssayDepot.configure do |config|
config.access_token = "1234567890"
config.url = "https://app.scientist.com"
end
wares = AssayDepot::Ware.find("Antibody")
wares.total
require 'assaydepot'
AssayDepot.configure do |config|
config.access_token = "1234567890"
config.url = "https://backoffice.scientist.com"
end
quoted_ware = AssayDepot::QuotedWare.get()
See the Scientist.com API documentation for details on the Scientist.com API resources and code examples using this SDK.
wares = AssayDepot::Ware.where(:ware_type => "CustomService")
wares.facets
wares = AssayDepot::Ware.where(:ware_type => "CustomService").where(:available_provider_names => "Assay Depot").page(2)
wares.first["name"]
providers = AssayDepot::Provider.where(:starts_with => "a").per_page(50)
providers.count
providers = AssayDepot::Provider.where(:starts_with => "a")
AssayDepot::Provider.get(id: providers.first["id"])
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
The Scientist.com Ruby SDK is released under the MIT license.