dominos icon indicating copy to clipboard operation
dominos copied to clipboard

Lib not working anymore, got 403

Open voron434 opened this issue 5 years ago • 1 comments

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

voron434 avatar May 15 '19 14:05 voron434

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.

Ali-Parandeh avatar Jul 09 '19 22:07 Ali-Parandeh