适用于Google Play商店的搜索API

时间:2012-10-01 12:34:01

标签: android api google-play

Google Play商店是否有搜索API?我正在寻找像Apple Search API这样的东西。

3 个答案:

答案 0 :(得分:2)

有一个,但它是一个非官方的API: http://code.google.com/p/android-market-api/

答案 1 :(得分:1)

调用WhereDat API就像执行HTTP Get一样简单,只需将“facebook”替换为您的搜索参数:

http://api.wheredatapp.com/search?q=facebook

这就是结果的样子:

{
  "apps": [
    {
      "category": "Social",
      "rating": 3.9948248863220215,
      "updated": 1435805622,
      "created": 1427510074,
      "icon_url": "https://lh3.googleusercontent.com/ZZPdzvlpK9r_Df9C3M7j1rNRi7hhHRvPhlklJ3lfi5jk86Jd1s0Y5wcQ1QgbVaAP5Q=w300",
      "title": "Facebook",
      "download_url": "https://play.google.com/store/apps/details?id=com.facebook.katana",
      "package": "com.facebook.katana",
      "ratings_count": 29588232,
      "short_description": "Keeping up with friends is faster than ever.• See what friends are up to• Share updates, photos and videos• Get notified when friends like and comment on your posts• P..."
    },
    {
      "category": "Business",
      "rating": 4.130451679229736,
      "updated": 1435644682,
      "created": 1427510616,
      "icon_url": "https://lh4.ggpht.com/vcyZimfIRlWrLarEpIj7MMSuqgwIkF4bx5nArKhFWsEqGclnPTAeLLK4cFiQ5QscRIEc=w300",
      "title": "Facebook Pages Manager",
      "download_url": "https://play.google.com/store/apps/details?id=com.facebook.pages.app",
      "package": "com.facebook.pages.app",
      "ratings_count": 693199,
      "short_description": "Pages Manager helps admins connect with their audience and keep up with activity on multiple Pages, all in one place.• Post updates and photos and respond to comments ..."
    },
    {
      "category": "Social",
      "rating": 4.149935245513916,
      "updated": 1435881022,
      "created": 1427510065,
      "icon_url": "https://lh5.ggpht.com/sFV8zzvuM__JTl0QDhtp0sGMzBXKGrEQWLpdJr_DhNxHNIJ7rNbvEewTJdhULTjsgM0=w300",
      "title": "Facebook Groups",
      "download_url": "https://play.google.com/store/apps/details?id=com.facebook.groups",
      "package": "com.facebook.groups",
      "ratings_count": 106446,
      "short_description": "This app gives you a dedicated space for you and your groups.See all of your Facebook Groups in one place. Discuss, plan and collaborate easily and without distraction..."
    },
    {
      "category": "Social",
      "rating": 4.336362838745117,
      "updated": 1435319250,
      "created": 1431991423,
      "icon_url": "https://lh3.googleusercontent.com/Alon4Gigwl2DqrT36O6JMn-M40tinuxFHWROtv0TP8ozX8Sr5MiBM1CuHX-veqFhnKvQ=w300",
      "title": "Facebook Lite",
      "download_url": "https://play.google.com/store/apps/details?id=com.facebook.lite",
      "package": "com.facebook.lite",
      "ratings_count": 95510,
      "short_description": "This version of Facebook is efficient with data and works in all network conditions.Facebook Lite:- Installs quickly — the app is less than 1 MB- Works on all Android ..."
    }
  ]
}

答案 2 :(得分:0)

实际上有一个像上面提到的那样。 但使用它是非法的,我们考虑在我们的创业公司使用它,我们聘请了一位律师检查我们是否可以使用它。 经过一项小型研究(基于用户协议),他告诉我们使用此API是非法的。 不使用它的另一个原因是你无法知道什么时候它会停止工作(如果谷歌在他们的协议上改变某些东西,那么API将不起作用)