dog-api icon indicating copy to clipboard operation
dog-api copied to clipboard

[Suggestion] Add parameter for raw returning of the fact

Open Evanito opened this issue 4 years ago • 0 comments

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 🐶

Evanito avatar Sep 21 '20 19:09 Evanito