菜鸟教程小白 发表于 2022-12-12 12:32:05

ios - 如何在 iOS App Store 中找到我的应用的准确评分?


                                            <p><p>在 iOS App Store 上,应用的评分精确到 ½ 颗星。如何获得更准确的评分?它是否存在于 iTunes 连接某处?</p>

<p>我注意到 <a href="https://itunes.apple.com/us/app/stack-exchange/id871299723?mt=8" rel="noreferrer noopener nofollow">app&#39;s page</a> 上提供了任何应用程序当前版本的确切评级。在源头。您可以使用以下代码在控制台中打印它:</p>

<pre><code>console.log( document.evaluate(&#39;//span[@itemprop=&#34;ratingValue&#34;]&#39;,
                               document,
                               null,
                               XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
                               null).snapshotItem(0).textContent )
</code></pre>

<p>但是,我想找到 <code>All Versions</code> 评级的确切值。</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>您可以使用 <a href="https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/" rel="noreferrer noopener nofollow">iTunes Search API</a>获取包含 App Store 上应用的统计信息的 JSON 对象:</p>

<p> <a href="https://itunes.apple.com/lookup?id=871299723" rel="noreferrer noopener nofollow">https://itunes.apple.com/lookup?id=871299723</a> </p>

<p>应用 ID 是商店 URL 末尾的数字。它具有当前版本以及所有版本的评级信息,因此希望这就是您所追求的信息。 :)</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 如何在 iOS App Store 中找到我的应用的准确评分?,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/41070097/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/41070097/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 如何在 iOS App Store 中找到我的应用的准确评分?