Contact Us
Back top
Current Location : APIs > 360手机助手
360手机助手 Transactions( 1226 )

360手机助手

Intro. :

Tag : 手机市场 On Shelves Time : 2017-03-23

Type :

手机应用 评论

Tutorials

Total invocations(updated per hour)

360手机助手 ¥ 1.00 yuan/100calls 辅助工具

API Mark

Example

注: 该接口为实时数据接口,可能受目标平台或网络状态影响,会存在一定的错误率,建议在程序中加入出错重试机制。
Error Code
-- 请求示例 url 默认请求参数已经做URL编码 curl -i "http://api01.idataapi.cn:8000/mobileapp/mobile360?apikey=&kw=%E8%85%BE%E8%AE%AF"
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.net.URL; import java.nio.charset.Charset; import org.json.JSONException; import org.json.JSONObject; import java.io.PrintWriter; import java.net.URLConnection; public class Example { private static String readAll(Reader rd) throws IOException { StringBuilder sb = new StringBuilder(); int cp; while ((cp = rd.read()) != -1) { sb.append((char) cp); } return sb.toString(); } public static JSONObject postRequestFromUrl(String url, String body) throws IOException, JSONException { URL realUrl = new URL(url); URLConnection conn = realUrl.openConnection(); conn.setDoOutput(true); conn.setDoInput(true); PrintWriter out = new PrintWriter(conn.getOutputStream()); out.print(body); out.flush(); InputStream instream = conn.getInputStream(); try { BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8"))); String jsonText = readAll(rd); JSONObject json = new JSONObject(jsonText); return json; } finally { instream.close(); } } public static JSONObject getRequestFromUrl(String url) throws IOException, JSONException { URL realUrl = new URL(url); URLConnection conn = realUrl.openConnection(); InputStream instream = conn.getInputStream(); try { BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8"))); String jsonText = readAll(rd); JSONObject json = new JSONObject(jsonText); return json; } finally { instream.close(); } } public static void main(String[] args) throws IOException, JSONException { // 请求示例 url 默认请求参数已经做URL编码 String url = "http://api01.idataapi.cn:8000/mobileapp/mobile360?apikey=&kw=%E8%85%BE%E8%AE%AF"; JSONObject json = getRequestFromUrl(url);; System.out.println(json.toString()); } }
//using System.Net.Security; //using System.Security.Cryptography.X509Certificates; private const String method = "GET"; static void Main(string[] args) { String bodys = ""; // 请求示例 url 默认请求参数已经做URL编码 String url = "http://api01.idataapi.cn:8000/mobileapp/mobile360?apikey=&kw=%E8%85%BE%E8%AE%AF"; HttpWebRequest httpRequest = null; HttpWebResponse httpResponse = null; if (url.Contains("https://")) { ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult); httpRequest = (HttpWebRequest)WebRequest.CreateDefault(new Uri(url)); } else { httpRequest = (HttpWebRequest)WebRequest.Create(url); } httpRequest.Method = method; if (0 < bodys.Length) { byte[] data = Encoding.UTF8.GetBytes(bodys); using (Stream stream = httpRequest.GetRequestStream()) { stream.Write(data, 0, data.Length); } } try { httpResponse = (HttpWebResponse)httpRequest.GetResponse(); } catch (WebException ex) { httpResponse = (HttpWebResponse)ex.Response; } Console.WriteLine(httpResponse.StatusCode); Console.WriteLine(httpResponse.Method); Console.WriteLine(httpResponse.Headers); Stream st = httpResponse.GetResponseStream(); StreamReader reader = new StreamReader(st, Encoding.GetEncoding("utf-8")); Console.WriteLine(reader.ReadToEnd()); Console.WriteLine("\n"); } public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors) { return true; }
<?php $method = "GET"; // 请求示例 url 默认请求参数已经做URL编码 $url = "http://api01.idataapi.cn:8000/mobileapp/mobile360?apikey=&kw=%E8%85%BE%E8%AE%AF"; $curl = curl_init(); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_FAILONERROR, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_HEADER, true); curl_setopt($curl, CURLOPT_ENCODING, "gzip"); var_dump(curl_exec($curl)); ?>
# coding:utf-8 """ Compatible for python2.x and python3.x requirement: pip install requests """ from __future__ import print_function import requests # 请求示例 url 默认请求参数已经做URL编码 url = "http://api01.idataapi.cn:8000/mobileapp/mobile360?apikey=&kw=%E8%85%BE%E8%AE%AF" headers = { "Accept-Encoding": "gzip", "Connection": "close" } if __name__ == "__main__": r = requests.get(url, headers=headers) json_obj = r.json() print(json_obj)

Request Field( Params marked* means users should choose one from the each marked items to fill in.)

Property Name Type Mandatory Example Description
kw string * 腾讯QQ
catid string *
pageToken string
sort string 0

Response Fields

Property Name Type Example Description
  • data array [...] 返回的数据
  • rating number 90 综合评分
  • catPathKey string null 总的分类路径
  • dislikeCount number null 该应用的踩数
  • rank number 98 综合排名
  • likeCount number null 手机app的点赞数
  • commentCount number 21565 评论数
  • keyValues object null 其他键对值
  • ratingCount number 21565 评分次数
  • id string 11428791 该app的ID
  • title string 腾讯新闻 该app的名称
  • publishDate number null 发布时间:时间戳格式
  • publishDateStr string null 发布时间:字符串格式
  • osTypes array [...] 支持的操作系统类型
  • isFree boolean true 是否付费
  • description string 腾讯新闻是腾讯公司为用户精心打造的一款拥有7x24小时全方位新闻报道的新闻产品, app描述
  • tags array [...] 标签列表
  • imageUrls array [...] 图像url合集
  • permissions array [...] 应用权限
  • url string https://mobile.baidu.com/item?docid=1142 本对象的最通用url
  • avatarUrl string http://wa2.baidu-1img.cn/timg?appsite 头像url
  • propertyDev string 腾讯科技(北京) 开发商
  • devId string 855795923 开发者id
  • fileOptions array [...] 文件选项
  • sizeM number 25.82 文件大小,单位兆
  • os string android 操作系统
  • format string apk 文件格式
  • version string 5.3.50 版本
  • updateDate number 1493827200 更新时间
  • downloadCount number 390000000 总下载数
  • todayDownloadCount number 135464 今日下载量
  • yesterdayDownloadCount number 138290 昨日下载量
  • nowDownloadCount number 154612 现在下载量
  • updateItems string 5.3.50 版本上线:-新增问答功能-视频体验优化 更新列表
  • subtitle string 腾讯新闻是腾讯公司为用户精心打造的一款拥有7x24小时全方位新闻报道的新闻产品, 子标题
  • pageToken string 1 翻页值
  • hasNext boolean true 是否有下一页
  • retcode string 000000 返回的状态码
  • dataType string mobileapp 本次查询的api类型
  • appCode string baiduzhushou 本次查询的api名

Returns The Sample

{
    "data": [
        {
            "rating": 90,
            "catPathKey": null,
            "dislikeCount": null,
            "rank": 98,
            "likeCount": null,
            "commentCount": 21565,
            "keyValues": null,
            "ratingCount": 21565,
            "id": "11428791",
            "title": "腾讯新闻",
            "publishDate": null,
            "publishDateStr": null,
            "osTypes": [
                "android"
            ],
            "isFree": true,
            "description": "腾讯新闻是腾讯公司为用户精心打造的一款拥有7x24小时全方位新闻报道的新闻产品,为用户提供高效、优质的资讯服务。是各个电子市场上下载最多,资讯最新最全,浏览最快、最省流量的新闻产品。【意见反馈】- 软件反馈:设置- 意见反馈- 官方网站:http:\/\/news.qq.com\/mobile\/- 腾讯微博:@腾讯新闻客户端特别说明:手机安卓系统版本低于3.0的用户,请访问官网(http:\/\/news.qq.com\/mobile\/)下载定制版本。",
            "tags": [
                "新闻",
                "资讯",
                "订阅",
                "已通过官方认证",
                "已通过安全扫描",
                "无广告"
            ],
            "imageUrls": [
                "http:\/\/cdn00.baidu-img.cn\/timg?vsapp&size=b480_720&imgtype=0&quality=100&er&sec=0&di=1770ec2756bf074eec6ba80ae3dc4ef1&ref=http:\/\/e.hiphotos.bdimg.com&src=http:\/\/e.hiphotos.bdimg.com\/wisegame\/pic\/item\/be54564e9258d1098fd461a3db58ccbf6c814de8.jpg",
                "http:\/\/cdn00.baidu-img.cn\/timg?vsapp&size=b480_720&imgtype=0&quality=100&er&sec=0&di=645a92bd5b98ec04abb2f6d923c051c4&ref=http:\/\/f.hiphotos.bdimg.com&src=http:\/\/f.hiphotos.bdimg.com\/wisegame\/pic\/item\/7c30e924b899a901f9eb922717950a7b0308f5c2.jpg",
                "http:\/\/cdn00.baidu-img.cn\/timg?vsapp&size=b480_720&imgtype=0&quality=100&er&sec=0&di=e63cb3a8ef8f71e6fb1b5ede9e8ec849&ref=http:\/\/e.hiphotos.bdimg.com&src=http:\/\/e.hiphotos.bdimg.com\/wisegame\/pic\/item\/697b02087bf40ad1de3a0ef25d2c11dfa8eccec2.jpg",
                "http:\/\/cdn00.baidu-img.cn\/timg?vsapp&size=b480_720&imgtype=0&quality=100&er&sec=0&di=38e220ccba83fd3e8d1d11fefda9c9f0&ref=http:\/\/g.hiphotos.bdimg.com&src=http:\/\/g.hiphotos.bdimg.com\/wisegame\/pic\/item\/18f40ad162d9f2d3e9cfedfea3ec8a136227ccc2.jpg",
                "http:\/\/cdn00.baidu-img.cn\/timg?vsapp&size=b480_720&imgtype=0&quality=100&er&sec=0&di=d05da4228ef9f438fbee4f04940d9e3c&ref=http:\/\/g.hiphotos.bdimg.com&src=http:\/\/g.hiphotos.bdimg.com\/wisegame\/pic\/item\/d1119313b07eca809b70f1f69b2397dda14483af.jpg"
            ],
            "permissions": [
                "网络通信:允许应用程序访问各种网络功能",
                "存储:访问SD卡",
                "手机通话:读取手机状态和身份",
                "您的位置:获取您的地理位置",
                "硬件控件:直接访问手机上的硬件(相机,音频,录音)",
                "需要您付费的服务:允许应用程序执行可能需要您付费的操作",
                "系统工具:停用键锁"
            ],
            "url": "https:\/\/mobile.baidu.com\/item?docid=11428791",
            "avatarUrl": "http:\/\/wa2.baidu-1img.cn\/timg?appsite&size=b256_256&imgtype=3&sec=1493970342&nocache&di=cb00b6157be0df34dc7e6e6fb7c8aaff&src=http:\/\/h.hiphotos.bdimg.com\/wisegame\/pic\/item\/f145d688d43f8794abf0283dd81b0ef41bd53a91.jpg",
            "propertyDev": "腾讯科技(北京)",
            "devId": "855795923",
            "fileOptions": [
                {
                    "url": "http:\/\/gdown.baidu.com\/data\/wisegame\/6205d3f30ddfc774\/tengxunxinwen_5350.apk",
                    "sizeM": 25.82,
                    "os": "android",
                    "id": "5350",
                    "format": "apk",
                    "version": "5.3.50"
                }
            ],
            "updateDate": 1493827200,
            "downloadCount": 390000000,
            "todayDownloadCount": 135464,
            "yesterdayDownloadCount": 138290,
            "nowDownloadCount": 154612,
            "updateItems": "5.3.50 版本上线:-新增问答功能-视频体验优化",
            "subtitle": "腾讯新闻是腾讯公司为用户精心打造的一款拥有7x24小时全方位新闻报道的新闻产品,为用户提供高效、优质的资讯服务"
        }
    ],
    "pageToken": "1",
    "hasNext": true,
    "retcode": "000000",
    "dataType": "mobileapp",
    "appCode": "baiduzhushou"
}

Detailed Data

No Details

状态码

Status Code Return Value Format : JSON

{

message:"API rate limit exceeded",

retcode:100703

}

The API in our platform is only paid on number of calls. For the detail, please refer to the below table.

Status Code Code Meaning Detailed Description Need paid or not?
000000 invoke successfully(data is not null) 成功调用并返回数据
100002 Search no result 目标参数搜索没结果
100301 Account not found 用户帐号不存在
100000 Server internal error 服务器内部错误
100001 Network error 网络错误
100004 Target server error 目标服务器错误
100005 Param error 用户输入参数错误
100700 Invalid authentication credentials 授权失败
100701 API stopped 您的当前API已停用
100702 Account stopped 您的账户已停用
100703 API rate limit exceeded 并发已达上限
100704 API maintenance API维护中
100705 API not found with these values API不存在
100706 Please add api first 请先添加api
100707 Number of calls exceeded 调用次数超限
100802 Missing url param 'time' or uri path is not equal to 2 请求路径错误或者缺少"time"参数
100803 Wrong pageToken 参数pageToken有误

Often With The Purchase Of Data