简体   繁体   中英

Is there a way to get the Yelp URL for a given business?

If I have information about a business, how do I go about getting the Yelp URL for that business via a script (say a Perl script for example)? For example, if I have information about "Toni's Pizza & Organic Pasta", how do I about getting the Yelp URL programmatically ( which is "http://www.yelp.com/biz/tonis-pizza-and-organic-pasta-chicago")? Thanks!

You can use the Yelp API to query Yelp's servers for a particular business using HTTP requests. The downside is you must be an authenticated Yelp user which may or may not work for your purposes.

See for more details:

http://www.yelp.com/developers/documentation/v2/overview

http://www.yelp.com/developers/documentation/v2/search_api

http://www.yelp.com/developers/documentation/v2/business

http://www.yelp.com/developers/documentation/phone_api

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM