-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cat gif example broken (api key banned) #297
Comments
Hm, from what I remember, the API key was copied from the
|
Also, looks like there's a stale comment in the README for that recipe from when it was broken for a different reason 😅
|
It looks like they're hosting the quotes API and blocking cross-origin requests, so maybe we just need to find a free alternative that doesn't require API key / rate-limit requests. Something like https://dog.ceo/dog-api/documentation/random? |
Cat gif elm links are broken. They point to quotes example. |
Could be a good first contribution if you're up for it @jgarte 🙂 . If not I can probably get around to fixing this sometime over the next couple weeks. Seems like we could just fetch a random dog image from |
The two cat gif examples are based on REST api request to giphy.com. The hardcoded key in use is "banned".
purescript-cookbook/recipes/CatGifsReactHooks/src/Main.purs
Line 72 in 3bbeca8
It might work to create a new key and see how long it'll work. Depends on why the key was banned (revoked, because checked in a repository, because too many requests).
The text was updated successfully, but these errors were encountered: