Closed PierreSelim closed 7 years ago
Handling status code based on https://wikitech.wikimedia.org/wiki/Analytics/PageviewAPI#Gotchas
Raising ZeroOrDataNotLoadedException for 404. Raising ThrottlingException for 429
ZeroOrDataNotLoadedException
ThrottlingException
Raising HTTPError otherwise (from the requests package)
HTTPError
requests
Handling status code based on https://wikitech.wikimedia.org/wiki/Analytics/PageviewAPI#Gotchas
Raising
ZeroOrDataNotLoadedException
for 404. RaisingThrottlingException
for 429Raising
HTTPError
otherwise (from therequests
package)