plantnet / my.plantnet

How to use my.plantnet API ?
https://my.plantnet.org/
GNU General Public License v3.0
32 stars 5 forks source link

Filtering/sorting/paging for the species endpoint #8

Open mattosaurus opened 1 week ago

mattosaurus commented 1 week ago

Hi, apologies if this is the wrong repo but I couldn't find one for the actual API.

Currently the /v2/species endpoint is effectively unuasable as it seems to return every single species (as expected). Would it be possible to implement some paging, filtering and sorting for this endpoint to make it more useable?

I'm imagining this would would be useful for functionanlity such as auto complete where it would search on the letters entered so far or to allow searching on particular species characteristics.

It would also be much more efficent for your servers as trying to return the entire species list has got to be pretty intensive.

matcho commented 1 week ago

Hi.

This is the wrong repo, but there's no public repo for Pl@ntNet API yet, so you did good :+1:

Thank you for this suggestion, we'll consider adding this feature in the next developments.