NBA.Client
API Documentation: http://docs.biodiversitydata.nl/en/latest/
Swagger: https://docs.biodiversitydata.nl/endpoints-reference/
Easily communicate with Naturalis / Netherlands Biodiversity API using C#
Download the source from GitHub or get the compiled assembly from NuGet NBA.Client on NuGet.
QuerySpec q = new QuerySpec
{
Conditions = new System.Collections.Generic.List<Condition>
{
new Condition
{
Field = "acceptedName.fullScientificName",
Operator = Operator.STARTS_WITH,
Value = "Urtica dioica"
},
new Condition
{
Field = "taxonRank",
Operator = Operator.EQUALS,
Value = "species"
}
},
LogicalOperator = LogicalOperator.AND
};
var result = await _client.GetTaxon(q);
Contributions are welcome. Fork this repository and send a pull request if you have something useful to add.
This library uses RestEase https://github.com/canton7/RestEase