适用于旅行应用程序的足够的Places API [英] Adequate Places API for travel app

查看:104
本文介绍了适用于旅行应用程序的足够的Places API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找可与地图API配合使用的place API.我一直在考虑以下三个API: -Google Maps/Places: https://developers.google.com/maps/ -Microsoft Bing: https://www.microsoft.com/maps/developers/mapapps.aspx -诺基亚地图: http://api.maps.nokia.com/2.1 .0/devguide/overview.html

I'm looking for a place API that can be used with a map API. Here are three APIs I've been thinking about: - Google Maps/Places: https://developers.google.com/maps/ - Microsoft Bing: https://www.microsoft.com/maps/developers/mapapps.aspx - Nokia Maps: http://api.maps.nokia.com/2.1.0/devguide/overview.html

它们似乎可能会产生良好的结果.我要处理的应用程序是关于旅行信息的.因此,我们希望使用最佳的API查找观光,住宿,餐厅,但我们不关心与旅行无关的牙医,杂货店等.

They seem to be likely to give good results. The application I'm going to work on is on travel information. So we would like to use the best API for finding sightseeing, accommodations, restaurants, but we don't care about dentists, grocery stores, etc., which are not related to travel.

您认为哪个人最适合我们的需求? (如果您想到了我没有提到的另一个不错的API,请务必让我知道!)

Which one do you guys think would be the best for our needs? (if you think of another good API that I didn't mention, make sure to let me know!)

谢谢你, J

推荐答案

在这里很难给出一个绝对的答案,因为每个API背后的数据质量都会因地而异,什么是最佳"?取决于您应用的性质及其所解决的问题-例如,在美洲,Google数据的范围(选择一种选项)通常被认为在美洲更强,而在欧洲则较弱.我听到的另一个例子是一家巴西公司决定使用诺基亚地图,因为尽管大城市的情况较弱,但它在农村地区的覆盖率更高.当然,数据的广度和质量可能会随着时间而改变.

It is difficult to give an absolute answer here because the quality of the data behind each of the APIs will vary from place to place, and what is "best" will depend on the nature of your app and the questions it solves - For example the extent of Google data (to pick one of your options) is generally perceived to be stronger in the Americas and weaker in Europe. Another example I have heard of is a Brazilian company that decided on using Nokia Maps because it had better coverage in rural areas even though it was weaker in the big cities. And of course the breadth and quality of the data may change with time.

我想您最好的选择是举办一场简单的选美比赛.

I would guess that your best option here would be to run a simple beauty contest.

以相关API开发人员站点中的代码示例为起点

Take as a starting point the code examples from the relevant API developer sites

  • Bing Search
  • Google Search
  • Nokia Search

然后修改代码,以获取某些典型用例的相同结果.住宿,餐厅,然后根据您的标准为每个API评分

Then modify the code to obtain the same results for some of your typical use cases e.g. accommodations, restaurants then score each API according to your criteria

  • 在与以下区域相关的区域中获得了什么样的覆盖率 你?
  • 修改代码有多容易?
  • 您喜欢结果显示的方式吗?
  • 获取更多详细信息有多容易?
  • 有关API费用的数据计划有多少?
  • What sort of coverage is obtained in an area that is relevant for you?
  • How easy is it to modify the code?
  • Do you like the way the results are presented?
  • How easy is it to get more detailed information?
  • How much does a data plan for the API cost?

然后使用记分卡确定最适合您的API.

Then use the score card to work out which API is the best for you.

以下是柏林书店"的所有三个API覆盖率差异的示例

Here is an example of difference in coverage from all three APIs for "bookshops" in Berlin

在这种特殊情况下,诺基亚API返回更多数据,但是如果您查找波士顿书店",则可能会得出不同的结果-您需要确定与应用程序最相关的位置和查询.

In this particular case the Nokia API returns more data, but a different result may be given if you look for say "Bookshops in Boston" - you need to decide which locations and which queries are most relevant to your application.

这篇关于适用于旅行应用程序的足够的Places API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆