Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 995 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 995 Bytes

Coverage Status

Code Climate

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)