Skip to content

Instantly share code, notes, and snippets.

@timotheus
Created July 22, 2013 16:44
Show Gist options
  • Save timotheus/6055428 to your computer and use it in GitHub Desktop.
Save timotheus/6055428 to your computer and use it in GitHub Desktop.
api.response_codes()
api.execute('VerifyAddItem', {})
if api.error():
# check for invalid data - error code 37
if 37 in api.response_codes():
print "Invalid data in request"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment