简体   繁体   English

是否可以获取给定业务的Yelp URL?

[英]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)? 如果我有关于某个企业的信息,该如何通过脚本(例如说一个Perl脚本)获取该企业的Yelp URL? 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")? 例如,如果我有关于“ Toni's Pizza&Organic Pasta”的信息,那么如何以编程方式获取Yelp URL(即“ http://www.yelp.com/biz/tonis-pizza-and-organic-pasta” -芝加哥”)? Thanks! 谢谢!

You can use the Yelp API to query Yelp's servers for a particular business using HTTP requests. 您可以使用Yelp API通过HTTP请求查询Yelp的服务器以查找特定业务。 The downside is you must be an authenticated Yelp user which may or may not work for your purposes. 不利的一面是您必须是经过身份验证的Yelp用户,该用户可能会也可能无法达到您的目的。

See for more details: 请参阅以获取更多详细信息:

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

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

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

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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