I have tried this
import pyopenstates
import os
os.environ['OPENSTATES_API_KEY'] = "a4....."
results = pyopenstates.search_bills(state="ny", q="taxi")
but consistently got this error
APIError: {"detail":"exceeded limit of 10/min: 11}
without ever getting anything in return from the API. Tried at different time intervals. Could you please advise?
--- EDIT ---
When using the set_api_key functions I get results.
import pyopenstates
pyopenstates.set_api_key("a4...")
results = pyopenstates.search_bills(state="ny", q="taxi")
In [6]: len(results)
Out[6]: 179
Is this an issue maybe related to outdated the documentation?
I have tried this
but consistently got this error
APIError: {"detail":"exceeded limit of 10/min: 11}without ever getting anything in return from the API. Tried at different time intervals. Could you please advise?
--- EDIT ---
When using the
set_api_keyfunctions I get results.Is this an issue maybe related to outdated the documentation?