Rafflesia Ruby SDK

Official Ruby client for the Rafflesia API.

Installation

gem install rafflesia

Or add it to your Gemfile:

gem 'rafflesia'

Usage

require 'rafflesia'

client = Rafflesia::Client.new(api_key: ENV.fetch('RAFFLESIA_API_KEY'))

# Every operation is grouped by resource, e.g.:
#   client.sequences.records_fetch(...)
#   client.proteins.folds_search(...)

The client targets https://api.rafflesia.ai by default. Pass base_url: to Rafflesia::Client.new to override it.

Requirements

  • Ruby >= 3.0

License

MIT — see LICENSE.