dog-api
dog-api copied to clipboard
[Suggestion] Add parameter for raw returning of the fact
For use with a chatbot on twitch that doesn't support parsing JSON, it would be useful if we could pass a parameter with our request such as ?raw=True
to just get the fact.
Example:
Current: https://dog-api.kinduff.com/api/facts
{"facts":["More than 5,000,000 puppies are born in the U.S. every year."],"success":true}
With flag: https://dog-api.kinduff.com/api/facts?raw=True
More than 5,000,000 puppies are born in the U.S. every year.
Also shoutout from dogdog 🐶