如何使用Application Search API并使用mashape api从Playstore获取Android应用程序版本号

时间:2022-11-27 07:22:48

I have to get the application version number and details of an android application from the google play store.

我必须从谷歌游戏商店获取应用程序版本号和Android应用程序的详细信息。

I have checked the mashape api. Please refer the URL. https://www.mashape.com/maxcanna/google-play-store

我检查了mashape api。请参阅URL。 https://www.mashape.com/maxcanna/google-play-store

Can you confirm if the apis can be used to fetch details in free? Because when Im trying to test the endpoit it takes the page to subsription page for payment.

你能否确认apis是否可用于免费获取详细信息?因为当我试图测试endpoit时,它会将页面转移到子页面以进行付款。

For example, if I want to get the latest version of Watsapp application from the playstore in my java application, can I use the api - https://gplaystore.p.mashape.com/applicationDetails

例如,如果我想从我的java应用程序中的playstore获取最新版本的Watsapp应用程序,我可以使用api - https://gplaystore.p.mashape.com/applicationDetails

What should I provide input for the "id" and "X-Mashape" key for the getting the Watsapp version number from the playstore using this api to perform the Test Endpoint. Can you help quicky with the steps needed to use this api.

我应该为“id”和“X-Mashape”键提供输入,以便使用此API从Playstore获取Watsapp版本号以执行测试端点。你能帮忙快速完成使用这个api所需的步骤吗?

Thanks a lot.

非常感谢。

Thanks and regards, Pallavi Roy.

谢谢和问候,Pallavi Roy。

1 个解决方案

#1


This API is Freemium: That means you need to pay for some of the feature. If you look at the "Pricing" tab on the page you have linked you can see what the pricing looks like.

此API是免费增值:这意味着您需要支付部分功能。如果您查看已链接页面上的“定价”标签,您可以看到定价的样子。

If you signup to Mashape and subscribe to the API (you need a valid credit card) you will see the X-Mashape key will be auto-populated for you. id is the id of the application you want to track. If you look at the page for "Whatsapp" on the Google play store:

如果您注册Mashape并订阅API(您需要有效的信用卡),您将看到将自动填充X-Mashape密钥。 id是您要跟踪的应用程序的ID。如果你看一下Google Play商店中“Whatsapp”的页面:

https://play.google.com/store/apps/details?id=com.whatsapp&hl=en

You will see that in the URL the id is com.whatsapp. That's what you need to use in the id field

您将在URL中看到id为com.whatsapp。这就是你需要在id字段中使用的内容

#1


This API is Freemium: That means you need to pay for some of the feature. If you look at the "Pricing" tab on the page you have linked you can see what the pricing looks like.

此API是免费增值:这意味着您需要支付部分功能。如果您查看已链接页面上的“定价”标签,您可以看到定价的样子。

If you signup to Mashape and subscribe to the API (you need a valid credit card) you will see the X-Mashape key will be auto-populated for you. id is the id of the application you want to track. If you look at the page for "Whatsapp" on the Google play store:

如果您注册Mashape并订阅API(您需要有效的信用卡),您将看到将自动填充X-Mashape密钥。 id是您要跟踪的应用程序的ID。如果你看一下Google Play商店中“Whatsapp”的页面:

https://play.google.com/store/apps/details?id=com.whatsapp&hl=en

You will see that in the URL the id is com.whatsapp. That's what you need to use in the id field

您将在URL中看到id为com.whatsapp。这就是你需要在id字段中使用的内容