Class GBIFSpeciesReader
java.lang.Object
org.episteme.natural.biology.loaders.GBIFSpeciesReader
Loader for GBIF (Global Biodiversity Information Facility) Species API.
Fetches species occurrence and taxonomy data from GBIF.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a species entry from GBIF. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetchByKey(long key) Fetches species by GBIF key.static StringgetChildren(long parentKey, int limit) Gets children of a taxon.static StringgetSpeciesMedia(long speciesKey) Gets the media (images) for a species.searchByName(String name, int limit) Searches for species by name.
-
Constructor Details
-
GBIFSpeciesReader
public GBIFSpeciesReader()
-
-
Method Details
-
getCategory
-
getDescription
-
fetchByKey
Fetches species by GBIF key.- Parameters:
key- the GBIF species key- Returns:
- the species entry, or empty if not found
-
searchByName
Searches for species by name.- Parameters:
name- the species name to searchlimit- maximum results- Returns:
- list of matching species
-
getChildren
Gets children of a taxon. -
getSpeciesMedia
-