Dog breeds

FREEMIUM
By Mirwn Apostolakis | Updated a month ago | Data
Popularity

8.7 / 10

Latency

1,332ms

Service Level

100%

Health Check

100%

Back to All Discussions

problem with images

can you tell me why am i getting alt prop insted of picture when i am looking for displaying all breeds with image

Rapid account: Myapos Fql Ezvrlv
myapos--FqlEzvrlv Commented a year ago

Hello @darelbavcar1 ,

thank you for using the dog breeds api.

I think that this was a temporary issue that was related to the server and it is already resolved. Feel free to contact me if you face anything similar and I will check it as soon as possible.

Thank you again

Rapid account: Darelbavcar 1
darelbavcar1 Commented 2 years ago

hello, i got message in the console saying ‘The API is unreachable, please contact the API provider’, info: ‘Your Client (working) —> Gateway (working) —> API (not working)’}. i have subscirbed for 3$ for 5000 API calls, but only used 924 so far. Where is the problem? Thank you

Rapid account: Myapos Fql Ezvrlv
myapos--FqlEzvrlv Commented 2 years ago

Hello again,

I believe the issue you were referring to was triggered because the url was delivering an html page that was containing the image. I updated the API and now it delivers directly the image. I also added under the meta object, urls of the same image in different dimensions that are included in the img_src_set property from the wikipedia page. I hope this works for you.

Example

{
“breed”:“Affenpinscher”
“origin”:“Germany”
“url”:“https://en.wikipedia.org/wiki/Affenpinscher
“img”:“https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Affenpinscher.jpg/220px-Affenpinscher.jpg
“meta”:{12 items
"height":“23–30 cm (9–12 in)”
“weight”:“3–6 kg (7–13 lb)”
“coat”:“Wire”
“img_src_set”:{…}2 items
"life_span":“Not available”
“other_names”:“Not available”
“common_nicknames”:“AffenAffie”
“colour”:“Not available”
“litter_size”:“Not available”
“notes”:“Not available”
“breed_status”:“Not available”
“foundation_stock”:“Not available”
}

Rapid account: Myapos Fql Ezvrlv
myapos--FqlEzvrlv Commented 2 years ago

Hello,

can you provide me some more information about your question? For example does this issue appears for a specific breed? The picture is available in the JSON response as a url to the jpg file directly to the wikipedia and not as an alt prop.

Example

{
“breed”:“Chihuahua”
“origin”:“Mexico”
“url”:“https://en.wikipedia.org/wiki/Chihuahua_(dog)
“img”:“https://en.wikipedia.org/wiki/File:Chihuahua1_bvdb.jpg

}

Join in the discussion - add comment below:

Login / Signup to post new comments