anapaulagomes / anapaulagomes/peneira

Add support to Semantic Scholar registered API KEY

Offen
#20 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
sources
Vorherrschende Sprache
Python
Sterne
1
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Reference:
https://www.semanticscholar.org/product/api#api-key
https://api.semanticscholar.org/api-docs/
https://www.semanticscholar.org/product/api/tutorial#key

What needs to be done here:
- [ ] Read the API Key from the env var
- [ ] If there is a key, set the header `x-api-key` (case-sensitive)
- [ ] If there is a key, increase the rate limits to (received via email):
```
1 request per second for the following endpoints:

* /paper/batch
* /paper/search
* /recommendations

* 10 requests / second for all other calls
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.