Hi,
I am creating cards with information about dog breed from “breeds” endoint. I would like to add img to my cards from the endpint “images”, but when using Get Image, I can call only one id. Is there a way to get images of all breeds?
Thanks,
Natalia
If you make a GET call to https://api.thedogapi.com/v1/breeds/
to get all breeds, the resulting response will be an array, each element of which will be an object having a property called image
which will further have a property url
. This should help you get URLs of one representative of image of each of the breeds in a single API request (where the image is available).
Would this serve your purpose?