Installation
Java 1.8 (JRE) is required.
gem "openseek-api-gem", :git=>"https://github.com/FAIRdom/openseek-api-gem.git"
Usage
-
Use to query entities in Openbis, filtered on a property with a defined property value.
-
Entity type is for example Experiment, Sample, DataSet.
-
Property is normally the SEEK_ID, which is used to map Openbis entity with SEEK entity.
include Fairdom::OpenbisApi
instance = Fairdom::OpenbisApi::Query.new(username, password, endpoint)
json_result = instance.query(type, property, property_value)