Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to request larger images from Yelp API?

Tags:

api

yelp

Is there a way to request larger images from Yelp?

The current response from their server is 100x100px.

Here's a sample: http://s3-media1.ak.yelpcdn.com/bphoto/ehZk1zXTE5xof4d2fcGLeQ/ms.jpg

Thank you.

like image 514
DeProdigy Avatar asked Feb 24 '14 22:02

DeProdigy


1 Answers

I ran into this a little while back.

You can replace the "ms" in .../ms.jpg with "l" for large, "s" for small, and you can use "o" for original, which will return the largest image.

Try the original: http://s3-media1.ak.yelpcdn.com/bphoto/ehZk1zXTE5xof4d2fcGLeQ/o.jpg

Best of luck!

like image 142
SleepDeprived Avatar answered Nov 14 '22 11:11

SleepDeprived