dominos
dominos copied to clipboard
Lib not working anymore, got 403
Trying to run your example from REAME:
Python 3.6.3 (default, Oct 3 2017, 21:45:48) [GCC 7.2.0] on linux
>>> from dominos.api import Client
>>> api = Client()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/ilya/Desktop/subl/venv/lib/python3.6/site-packages/dominos/api.py", line 50, in __init__
self.reset_session()
File "/home/ilya/Desktop/subl/venv/lib/python3.6/site-packages/ratelimit/decorators.py", line 80, in wrapper
return func(*args, **kargs)
File "/home/ilya/Desktop/subl/venv/lib/python3.6/site-packages/dominos/api.py", line 64, in reset_session
raise self.ApiError('Failed to clear session: {}'.format(response.status_code))
dominos.api.ApiError: Failed to clear session: 403
I tested the library in July and it was working fine - The API was providing data to my requests. You can use postman to check the api urls.