You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.
After calling GetWeatherDataAsync for example, what property can we check to see if Dark Sky rejected the request because the account was locked out (limit exceeded) for example.
The text was updated successfully, but these errors were encountered:
Right now there isn't a definite way to know for sure - if the request had a non-successful status code, an exception is raised. There's also a ApiCallsMade property on the instance of the service which lets you see how many calls have been made so far (as reported by Dark Sky), though you'd have to implement some logic to figure out if you're nearing a limit using that.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After calling GetWeatherDataAsync for example, what property can we check to see if Dark Sky rejected the request because the account was locked out (limit exceeded) for example.
The text was updated successfully, but these errors were encountered: