Logout
It goes to homepage and then log out from amazon. By default log outs from amazon.com, can send other url in home_url
.
body: returns data
success_score: api success rate
errors: errors encountered in api
Here is the code:-
- amazon.logout(home_url='https://www.amazon.in/')
- Parameters
home_url (str) – Home Url
- Returns
{“body”: {}, “success_score”: “100”, “errors”: []}
- Return type
dict