Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get literature count from stable API #38

Open
frafra opened this issue Nov 14, 2022 · 0 comments
Open

Get literature count from stable API #38

frafra opened this issue Nov 14, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@frafra
Copy link
Collaborator

frafra commented Nov 14, 2022

GBIF provides a stable REST-like API and a GBIF unstable API. We rely on the latter for getting the literature count, using a CloudFlare worker (see https://github.com/gbif/hp-living-norway/blob/851e50e905c68e940e57ebd508a4930c6b52240c/workers/statistics.js).

GBIF recently added a way to do the same, use the stable API: gbif/content-crawler#46 (comment)

Here is the URL that can be used: https://api.gbif.org/v1/literature/search?gbifNetworkKey=379a0de5-f377-4661-9a30-33dd844e7b9a&limit=0

We could then avoid using additional components if we rely on that.

@frafra frafra added the enhancement New feature or request label Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants