声明一下:这个api是我抓包抓到的,因为平时经常给别人装机下载镜像,所以经常在这里下载。
获取资源列表id
请求URL
| 1
 | https://msdn.itellyou.cn/Category/Index`
 | 
请求方式
POST
参数
id可选值:
| 描述 | 分类id | 
| 企业解决方案 | aff8a80f-2dee-4bba-80ec-611ac56d3849 | 
| MSDN 技术资源库 | 23958de6-bedb-4998-825c-aa3d1e00d097 | 
| 工具和资源 | 95c4acfd-d1a6-41fe-b14d-a6816973d2aa | 
| 应用程序 | 051d75ee-ff53-43fe-80e9-bac5c10fc0fb | 
| 开发人员工具 | fcf12b78-0662-4dd4-9a82-72040db91c9e | 
| 操作系统 | 7ab5f0cb-7607-4bbe-9e88-50716dc43de6 | 
| 服务器 | 36d3766e-0efb-491e-961b-d1a419e06c68 | 
| 设计人员工具 | 5d6967f0-b58d-4385-8769-b886bfc2b78c | 
返回值
| 12
 3
 4
 5
 6
 
 | [{
 id: "id值",
 name: "具体名字"
 }
 ]
 
 | 
获取资源列表语言id
请求URL
| 1
 | https://msdn.itellyou.cn/Category/GetLang
 | 
请求方式
POST
参数
返回值
| 12
 3
 4
 5
 6
 7
 8
 9
 
 | {status: true,
 result: [
 {
 id: "语言id",
 lang: "语言描述"
 }
 ]
 }
 
 | 
获取资源列表信息
请求URL
| 12
 
 | https://msdn.itellyou.cn/Category/GetList
 
 | 
请求方式
POST
参数
| 参数名 | 类型 | 备注 | 
| id | string | 分类id | 
| lang | string | 语言id | 
| filter | boolean | 默认true | 
返回值
| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 
 | {status: true,
 result: [
 {
 id: "资源具体id",
 name: "资源名字",
 post: "资源发布时间",
 url: "资源下载地址"
 }
 ]
 }
 
 | 
获取具体资源下载信息
请求URL
| 1
 | https://msdn.itellyou.cn/Category/GetProduct
 | 
请求方式
POST
参数
| 参数名 | 类型 | 备注 | 
| id | string | 具体的资源id | 
返回值
| 12
 3
 4
 5
 6
 7
 8
 9
 10
 
 | {status: true,
 result: {
 DownLoad: "资源下载地址",
 FileName: "资源文件名",
 PostDateString: "资源发布时间",
 SHA1: "资源sha1",
 size: "资源大小"
 }
 }
 
 | 
注意事项
msdn请求需设置 Referer,下面贴出我用nginx做反向代理的配置
| 12
 3
 4
 
 | location /Category/ {proxy_pass https://msdn.itellyou.cn;
 proxy_set_header   Referer    https://msdn.itellyou.cn/;
 }
 
 |