anapaulagomes / anapaulagomes/peneira

Add support to Semantic Scholar registered API KEY

Aperta
#20 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
sources
Lingua principale
Python
Stelle
1
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.