通过接口指定appstore 的应用id获取Bundleid

  1. 比如微信的 App Store 地址是 https://itunes.apple.com/cn/app/wei/id414478124

  1. 提取上面地址的 id 参数,即上面链接的末尾部分:414478124
  2. 请求这个地址: https://itunes.apple.com/lookup?id=414478124,就会返回包含 APP 所有信息的 json 格式的文本文件,示例如下

    {
    "resultCount":1,
    "results": [
    {
    "screenshotUrls":["https://is1-ssl.mzstatic.com/image/thumb/Purple123/v4/af/f1/bc/aff1bc21-0a1c-d39f-1f5f-7ff5a62de657/mzl.zjlmztps.png/696x696bb.png", "https://is3-ssl.mzstatic.com/image/thumb/Purple113/v4/f2/02/c9/f202c923-20cf-fb55-7347-738fca01d093/mzl.aphjpnwm.png/696x696bb.png", "https://is4-ssl.mzstatic.com/image/thumb/Purple123/v4/27/a0/3a/27a03ae1-da0e-120f-0601-ddf1465c5067/mzl.xpaxzehb.png/696x696bb.png", "https://is4-ssl.mzstatic.com/image/thumb/Purple113/v4/35/29/85/35298588-fd1a-648c-700a-5901766baa91/mzl.qfyapzla.png/696x696bb.png", "https://is3-ssl.mzstatic.com/image/thumb/Purple123/v4/d3/03/62/d303629f-c958-ddc4-63cf-4da20026299c/mzl.fifspxpz.png/696x696bb.png"],
    "ipadScreenshotUrls":["https://is2-ssl.mzstatic.com/image/thumb/Purple113/v4/14/f1/9b/14f19bb0-5a4a-f12e-0eb3-5d045f1aab4f/mzl.xmocugep.jpg/1024x768bb.jpg", "https://is4-ssl.mzstatic.com/image/thumb/Purple113/v4/8b/65/65/8b6565bd-7477-99d6-f2e1-a84058a09860/mzl.jxulvzbc.jpg/1024x768bb.jpg", "https://is3-ssl.mzstatic.com/image/thumb/Purple123/v4/4a/dc/b1/4adcb1a3-57cf-1919-3133-148885bf57bf/mzl.ctuaveaw.jpg/1024x768bb.jpg", "https://is3-ssl.mzstatic.com/image/thumb/Purple113/v4/02/7b/c7/027bc79b-94d0-4ff2-30b5-b06a9eda7b22/mzl.phdqpbev.png/1024x768bb.png"], "appletvScreenshotUrls":[], "artworkUrl60":"https://is2-ssl.mzstatic.com/image/thumb/Purple113/v4/bd/da/0f/bdda0f22-cce4-40b4-f1d6-cc48eaa52dee/source/60x60bb.jpg", "artworkUrl512":"https://is2-ssl.mzstatic.com/image/thumb/Purple113/v4/bd/da/0f/bdda0f22-cce4-40b4-f1d6-cc48eaa52dee/source/512x512bb.jpg", "artworkUrl100":"https://is2-ssl.mzstatic.com/image/thumb/Purple113/v4/bd/da/0f/bdda0f22-cce4-40b4-f1d6-cc48eaa52dee/source/100x100bb.jpg", "artistViewUrl":"https://apps.apple.com/us/developer/wechat/id614694882?uo=4", "isGameCenterEnabled":false,
    "supportedDevices":["Watch4-Watch4", "iPhone5s-iPhone5s", "iPadAir-iPadAir", "iPadAirCellular-iPadAirCellular", "iPadMiniRetina-iPadMiniRetina", "iPadMiniRetinaCellular-iPadMiniRetinaCellular", "iPhone6-iPhone6", "iPhone6Plus-iPhone6Plus", "iPadAir2-iPadAir2", "iPadAir2Cellular-iPadAir2Cellular", "iPadMini3-iPadMini3", "iPadMini3Cellular-iPadMini3Cellular", "iPodTouchSixthGen-iPodTouchSixthGen", "iPhone6s-iPhone6s", "iPhone6sPlus-iPhone6sPlus", "iPadMini4-iPadMini4", "iPadMini4Cellular-iPadMini4Cellular", "iPadPro-iPadPro", "iPadProCellular-iPadProCellular", "iPadPro97-iPadPro97", "iPadPro97Cellular-iPadPro97Cellular", "iPhoneSE-iPhoneSE", "iPhone7-iPhone7", "iPhone7Plus-iPhone7Plus", "iPad611-iPad611", "iPad612-iPad612", "iPad71-iPad71", "iPad72-iPad72", "iPad73-iPad73", "iPad74-iPad74", "iPhone8-iPhone8", "iPhone8Plus-iPhone8Plus", "iPhoneX-iPhoneX", "iPad75-iPad75", "iPad76-iPad76", "iPhoneXS-iPhoneXS", "iPhoneXSMax-iPhoneXSMax", "iPhoneXR-iPhoneXR", "iPad812-iPad812", "iPad834-iPad834", "iPad856-iPad856", "iPad878-iPad878", "iPadMini5-iPadMini5", "iPadMini5Cellular-iPadMini5Cellular", "iPadAir3-iPadAir3", "iPadAir3Cellular-iPadAir3Cellular", "iPodTouchSeventhGen-iPodTouchSeventhGen"], "advisories":["Frequent/Intense Mature/Suggestive Themes"], "kind":"software", "features":["iosUniversal"], "averageUserRatingForCurrentVersion":3.5, "trackCensoredName":"WeChat", "languageCodesISO2A":["AR", "ZH", "EN", "FR", "DE", "ID", "IT", "JA", "KO", "MS", "PT", "RU", "ZH", "ES", "TH", "ZH", "TR", "VI"], "fileSizeBytes":"250412032", "sellerUrl":"http://www.wechat.com", "contentAdvisoryRating":"17+", "userRatingCountForCurrentVersion":956, "trackViewUrl":"https://apps.apple.com/us/app/wechat/id414478124?uo=4", "trackContentRating":"17+", "trackName":"WeChat", "minimumOsVersion":"9.0",
    "releaseNotes":"What’s New:\n- When sending a Time Capsule, search and attach a background song.\n- Send a private comment within your friend’s Time Capsule.\n- New methods supported to register and login to your WeChat account\n\nRecent Updates:\n- Record a “Time Capsule” to chronicle the world through your eyes. “Blow a bubble” when viewing a friend’s Time Capsule to let your friend know you’ve opened it.\n- A whole new design with a clearer, more intuitive interface.\n- Configure an alert from a chat’s settings screen for a special alert when receiving a message.", "currentVersionReleaseDate":"2019-05-05T03:42:59Z", "sellerName":"Tencent Technology (Shenzhen) Company Limited", "genreIds":["6005", "6007"], "isVppDeviceBasedLicensingEnabled":true, "currency":"USD", "wrapperType":"software", "version":"7.0.4", "releaseDate":"2011-01-21T01:32:15Z", "primaryGenreName":"Social Networking", "primaryGenreId":6005, "trackId":414478124, "formattedPrice":"Free", "artistId":614694882, "artistName":"WeChat", "genres":["Social Networking", "Productivity"], "price":0.00,
    "description":"WeChat is more than a messaging and social media app – it is a lifestyle for one billion users across the world. Chat and make calls with friends, read news and use local services in Official Accounts and Mini Programs, play games with friends, enjoy mobile payment features with WeChat Pay, and much more.\n\nWhy do one billion people use WeChat?\n• MORE WAYS TO CHAT: Message friends using text, photo, voice, video, location sharing, and more. Create group chats with up to 500 members.\n• VOICE & VIDEO CALLS: High-quality voice and video calls to anywhere in the world. Make group video calls with up to 9 people.\n• REAL-TIME LOCATION: Not good at explaining directions? Share your real-time location with the tap of a button.\n• MOMENTS: Never forget your favorite moments. Post photos, videos, and more to share with friends on your personal Moments stream.\n• TIME CAPSULE (NEW!): Share glimpses of your day. Record short videos to post in your Time Capsule before they disappear in 24 hours.\n• STICKER GALLERY: Browse thousands of fun, animated stickers to help express yourself in chats, including stickers with your favorite cartoon and movie characters.\n• CUSTOM STICKERS (NEW!): Make chatting more unique with custom stickers and selfie stickers.\n• OFFICIAL ACCOUNTS: Tons of accounts to follow with original content and news for your reading pleasure.\n• MINI PROGRAMS: Countless third-party services all within the WeChat app that don’t require additional installation, saving you precious phone storage and time. \n• TOP STORIES: See the latest articles your friends are reading and discover all kinds of interesting content.\n• GAMES: Have fun and compete with friends in a huge selection of WeChat Mini Games and Tencent Games (available in select regions).\n• WECHAT PAY: Enjoy the convenience of world-leading mobile payment features with WeChat Pay and Wallet (available in select regions).\n• WECHAT OUT: Make calls to mobile phones and landlines around the globe at super low rates (only available in select regions).\n• WERUN: Use Healthkit and Health app data to sync your step count on WeRun, where you can compete against friends with daily step rankings. Enable WeRun in “Settings” > “General” > “Plug-ins”.\n• LANGUAGE SUPPORT: Localized in 20 different languages and can translate friends‘ messages and Moments posts.\n• BETTER PRIVACY: Giving you the highest level of control over your privacy, WeChat is the only messaging app to be certified by TRUSTe.", "bundleId":"com.tencent.xin", "averageUserRating":4.5, "userRatingCount":84403}]
    }

原文地址:https://www.cnblogs.com/dreamhighqiu/p/11062469.html

时间: 2024-10-08 10:42:14

通过接口指定appstore 的应用id获取Bundleid的相关文章

Jmeter 通过json Extracted 来获取 指定的值的id

在没有 精确或模糊查询的接口时可以使用jmeter 获取指定的值的ID 1 import java.lang.String ; 2 String getTargetName="iphone632g"; 3 //判读相应结果中是否包含指定值:iphone632g 4 boolean containsCategory=prev.getResponseDataAsString().contains(getTargetName); 5 vars.putObject("contains

根据进程ID获取进程路径

根据进程ID获取进程路径有两种方法:方法1:OpenProcess --> GetModuleFileNameEx方法2:OpenProcess --> EnumProcessModules --> GetModuleFileNameEx 注意事项:1.使用GetModuleFileNameEx()而不是GetModuleFileName()2.GetModuleFileNameEx()指定的hProcess需要PROCESS_QUERY_INFORMATION | PROCESS_VM

微信公众号平台接口开发:基础支持,获取access_token

新建Asp.net MVC 4.0项目 WeChatSubscript是项目UI层 WeChatTools是封装操作访问公众号接口的一些方法类库 获取AccssToken 我们要的得到AccessToken,这是所有接口访问的基础,我们看看官方给出的接口调用文档 很简单明了,grant_type=client_credential,这是固定的不会变 appid与secret就是前面一章我叫大家记起来的那个认证口令数据. 下边我们来实现这个功能,新建WeCharBase.cs 1 public c

微信公众号平台接口开发:基础支持,获取微信服务器IP地址

官方说明 目前看不出来这个接口有哪些具体运用,但是既然有这个接口,那我们就试试能不能用 访问接口 修改WeCharBase.cs,新增以下2个方法 1 public static string ServerIPs 2 { 3 get { return GetServerIPs(); } 4 } 5 6 /// <summary>获取所有服务器IP</summary> 7 /// <returns></returns> 8 private static str

获取spring的IOC核心容器,并根据id获取对象

public class Client { /** * 获取spring的IOC核心容器,并根据id获取对象 * ApplicationContext的三个常用实现类 * classPathXmlApplicationContext: 它可以加载路径下的配置文件,要求配置文件必须在类路径下.不在的话加载不了 * FileSystemXmlApplicationContext: 它可以加载磁盘任意路径下的配置文件件(必须有访问权限) * AnnotationConfigApplicationCon

js中用tagname和id获取元素的3种方法

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>3种用tagname和id获取元素的方法</title> <style> body{     margin: 0; } ul{     margin: 0;     padding: 0;     list-style: none; } h1{

JavaScript通过ID获取元素坐标

JavaScript通过ID获取元素坐标 function getElementPos(elementId) { var ua = navigator.userAgent.toLowerCase(); var isOpera = (ua.indexOf('opera') != -1); var isIE = (ua.indexOf('msie') != -1 && !isOpera); // not opera spoof var el = document.getElementByIdx

获取一个想要的指定文件的集合,获取文件夹下(包含子目录的所有.java的文件对象,并存储到集合中)

import java.io.File; import java.io.FileFilter; import java.io.ObjectInputStream.GetField; import java.util.ArrayList; import java.util.List; public class huoquwenjian { /*获取一个想要的指定文件的集合,获取文件夹下(包含子目录的所有.java的文件对象,并存储到集合中) * 思路: * 1,既然包含子目录,就需要递归. * 2

通过ID获取元素

网页由标签将信息组织起来,而标签的id属性值是唯一的,就像是每人有一个身份证号一样,只要通过身份证号就可以找到相对应的人.那么在网页中,我们通过id先找到标签,然后进行操作. 语法: document.getElementById("id") 注:获取的元素是一个对象,如想对元素进行操作,我们要通过它的属性或方法.例如: 运行结果为: 理解:输出为null,是因为代码是顺序执行的,先调用了JavaScript代码,但是这个时候还没有ID为"con"的元素,得到空 理