https://github.com/codepath/ios_yelp
https://github.com/codepath/ios_yelp
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codepath/ios_yelp
- Owner: codepath
- Created: 2014-03-21T08:55:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-11-29T17:50:16.000Z (about 9 years ago)
- Last Synced: 2023-05-10T14:13:30.202Z (over 2 years ago)
- Language: Objective-C
- Size: 74.3 MB
- Stars: 9
- Watchers: 10
- Forks: 90
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Basic Yelp client
This is a headless example of how to implement an OAuth 1.0a Yelp API client. The Yelp API provides an application token that allows applications to make unauthenticated requests to their search API.
### Sample response
```
businesses = (
{
categories = (
(
Thai,
thai
)
);
"display_phone" = "+1-415-931-6917";
id = "lers-ros-thai-san-francisco";
"image_url" = "http://s3-media2.ak.yelpcdn.com/bphoto/IStxUNVdfuPR2ddDAIPk_A/ms.jpg";
"is_claimed" = 1;
"is_closed" = 0;
location = {
address = (
"730 Larkin St"
);
city = "San Francisco";
"country_code" = US;
"cross_streets" = "Olive St & Ellis St";
"display_address" = (
"730 Larkin St",
"(b/t Olive St & Ellis St)",
Tenderloin,
"San Francisco, CA 94109"
);
neighborhoods = (
Tenderloin
);
"postal_code" = 94109;
"state_code" = CA;
};
"menu_date_updated" = 1387658025;
"menu_provider" = "single_platform";
"mobile_url" = "http://m.yelp.com/biz/lers-ros-thai-san-francisco";
name = "Lers Ros Thai";
phone = 4159316917;
rating = 4;
"rating_img_url" = "http://s3-media4.ak.yelpcdn.com/assets/2/www/img/c2f3dd9799a5/ico/stars/v1/stars_4.png";
"rating_img_url_large" = "http://s3-media2.ak.yelpcdn.com/assets/2/www/img/ccf2b76faa2c/ico/stars/v1/stars_large_4.png";
"rating_img_url_small" = "http://s3-media4.ak.yelpcdn.com/assets/2/www/img/f62a5be2f902/ico/stars/v1/stars_small_4.png";
"review_count" = 1154;
"snippet_image_url" = "http://s3-media4.ak.yelpcdn.com/photo/D40HpcJt-O6Ll654S_--6w/ms.jpg";
"snippet_text" = "Fantastic pad-see-ew. Super rich, flavorful sauce and plenty of ginormous prawns, especially for a $12 price tag in San Francisco. I went through a pretty...";
url = "http://www.yelp.com/biz/lers-ros-thai-san-francisco";
}
);
region = {
center = {
latitude = "37.7703124";
longitude = "-122.43647245575";
};
span = {
"latitude_delta" = "0.06424638000000016";
"longitude_delta" = "0.07145348265001417";
};
};
total = 760;
```