akaszynski / keepa

Python Keepa.com API
https://keepaapi.readthedocs.io/en/latest/
Apache License 2.0
241 stars 77 forks source link

Add wait #91

Closed chocobn69 closed 3 years ago

chocobn69 commented 3 years ago

Keepa admin told me I was calling to much /token endpoint.

I added the possibility to not wait available token before calling Keepa /query

codecov[bot] commented 3 years ago

Codecov Report

Merging #91 (1c8935b) into master (74de129) will decrease coverage by 69.53%. The diff coverage is 43.75%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #91       +/-   ##
===========================================
- Coverage   91.38%   21.84%   -69.54%     
===========================================
  Files           5        5               
  Lines         325      325               
===========================================
- Hits          297       71      -226     
- Misses         28      254      +226     
Impacted Files Coverage Δ
keepa/interface.py 24.69% <40.00%> (-66.26%) :arrow_down:
keepa/_version.py 100.00% <100.00%> (ø)
keepa/plotting.py 5.33% <0.00%> (-86.67%) :arrow_down: