create mechanism for tracking API rate limits remaining when there is not a dedicated API for it

Aperta
#515 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
api

Direzione di ricerca

Read related issue #294 and parent issue #71, then look at the existing GitHub rate-limit checking mentioned in the issue. Identify where platform keys and API usage are handled, especially for platforms without a dedicated rate-limit API. Done means usage and expected reset times can be reported to keyman and key usage can be displayed in UIs and CLIs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

similar/related to/will likely depend on https://github.com/chaoss/CollectOSS/issues/294

likely a child/spinoff issue from #71

Github has a dedicated API for rate limit checking that we already use.

Other platforms (gitlab) dont seem to have such features.

We need a way to internally store and track rate limit usage so that we can:

  • report to keyman when the keys are exhausted and when theyre expected to reset
  • be able to display key usage in various UIs/CLI's
Lingua principale
Python
Stelle
18
Fork
33
Merge medio
2g 16h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di chaoss/CollectOSS

Tutte le issue di chaoss/CollectOSS

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.