You can use:
https://api.gbif.org/v1/species/match?name=Achillea%20millefolium
and grab usageKey from the response.
More options for searching here: https://www.gbif.org/developer/species#searching
For the organ, looks like you can use “http://rs.tdwg.org/ac/terms/subjectPart” in the multimedia extension (as you pointed out in a separate message). It has values like
"bark"
"flower"
"habit"
"leaf"
"other"
/Daniel
From: Sylvain Ard <sylvain.ard@gmail.com>
Date: Wednesday, 8 June 2022 at 14.17
To: Daniel Noesgaard <dnoesgaard@gbif.org>
Cc: api-users@lists.gbif.org <api-users@lists.gbif.org>
Subject: Re: [API-users] plantnetOK and for get the taxon_key of a certain scientific name without authors ?
Sylvain Ard
0549507724
0778380991Entreprise individuelle SIRET : 80079243400022
Appt 26 Bât A Résidence Le Patio
83 rue de la Bugellerie
86000 Poitiers
Le mer. 8 juin 2022 à 14:13, Daniel Noesgaard <dnoesgaard@gbif.org> a écrit :
You can use publishing_org=da86174a-a605-43a4-a5e8-53d484152cd3 to limit searches to PlantNet.
Example: To get links to all Pl@ntNet photos of Achillea millefolium L.
% curl -sS "https://api.gbif.org/v1/occurrence/search?media_type=StillImage&publishing_org=da86174a-a605-43a4-a5e8-53d484152cd3&taxon_key=3120060" | jq '.results[].media[].identifier'
"https://bs.plantnet.org/image/o/b8543f93e90fce828e5e35717c262d56f3dccfb9"
"https://bs.plantnet.org/image/o/0a5182b9862a47cc3bed1f2c0863950e846ee9b5"
"https://bs.plantnet.org/image/o/da51bb6f1c2ff983dc6e1b7e9a92209bc6c0605d"
"https://bs.plantnet.org/image/o/5fda035e6973b418bd4299b42c2c70e0622d69bb"
"https://bs.plantnet.org/image/o/68f77a7cb6a5e595f3385466f517af9756507a59"
…
/Daniel
From: API-users <api-users-bounces@lists.gbif.org> on behalf of Sylvain Ard <sylvain.ard@gmail.com>
Date: Wednesday, 8 June 2022 at 13.57
To: api-users@lists.gbif.org <api-users@lists.gbif.org>
Subject: [API-users] plantnetHello,
how to select photos of a certain plant of PlantNet, I specify that I want only PlantNet photos ?
Thank you
Best regards
Sylvain Ard
0549507724
0778380991Entreprise individuelle SIRET : 80079243400022
Appt 26 Bât A Résidence Le Patio
83 rue de la Bugellerie
86000 Poitiers