GitHub Contributors Stars Build Status Downloads Crates.io

Benchling client, generated from the OpenAPI spec.

Usage

```rust use benchling::BenchlingClient; use benchling::model::*;

[tokio::main]

async fn main() { let client = BenchlingClient::fromenv(); let response = client .listaasequences() .pagesize(1) .nexttoken("your next token") .sort("your sort") .modifiedat("your modified at") .name("your name") .nameincludes("your name includes") .aminoacids("your amino acids") .folderid("your folder id") .mentionedin("your mentioned in") .projectid("your project id") .registryid("your registry id") .schemaid("your schema id") .schemafields(SchemaFieldsQueryParam {}) .archivereason("your archive reason") .mentions("your mentions") .ids("your ids") .entityregistryidsanyof("your entity registry ids.any of") .namesanyof("your names.any of") .namesanyofcasesensitive("your names.any of.case sensitive") .creatorids("your creator ids") .authoridsany_of("your author ids.any of") .send() .await .unwrap(); println!("{:#?}", response); }

```

This example loads configuration from environment variables, specifically:

Installation

Add this to your Cargo.toml:

toml [dependencies] benchling = "0.1.0"

Documentation

You can see working examples of every API call in the examples/ directory.

Contributing

Contributions are welcome!

Library created with Libninja.