开源中国 API
  1. 软件
开源中国 API
  • OSCHINA 开放平台Beta
  • 认证接口
    • oauth2_authorize
      GET
    • oauth2_token
      POST
  • 个人信息
    • openapi_user
      POST
    • user_information
      POST
    • my_information
      POST
    • portrait_update
      POST
    • friends_list
      POST
    • active_list
      POST
    • update_user_relation
      POST
  • 新闻
    • news_list
      POST
    • /action/openapi/news_detail
      POST
  • 帖子
    • post_list
      POST
    • post_pub
      POST
    • post_detail
      POST
  • 动弹
    • tweet_list
      POST
    • tweet_detail
      POST
    • tweet_pub
      POST
    • tweet_delete
      POST
  • 博客
    • blog_pub
      POST
    • blog_list
      POST
    • blog_recommend_list
      POST
    • blog_detail
      POST
    • user_blog_list
      POST
    • blog_catalog_list
      POST
  • 评论
    • blog_comment_list
    • blog_comment_pub
    • blog_comment_reply
    • user_blog_delete
    • comment_list
    • comment_pub
    • comment_reply
    • comment_delete
  • 收藏
    • favorite_list
    • favorite_add
    • favorite_remove
  • 软件
    • project_detail
      POST
    • project_catalog_list
      POST
    • project_list
      POST
    • project_tag_list
      POST
  • 私信
    • message_list
    • message_delete
  • 搜索
    • search_list
  • 通知
    • user_notice
    • clear_notice
  1. 软件

project_tag_list

POST
/action/openapi/project_tag_list
是否需要登录
否
访问授权限制
暂无
授权范围(scope)
访问软件资讯
注意事项
可以根据url提取出ident(项目唯一标识),然后根据action_openapi_project_detail中根据ident得到Project的详情
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.oschina.net/action/openapi/project_tag_list' \
--header 'Content-Type: application/json' \
--data-raw '{
    "access_token": "string",
    "tag": "string",
    "dataType": "string"
}'
响应示例响应示例
{
  "projectlist": [
    {
      "description": "Dart是一种基于类的可选类型化编程语言,...",
      "name": "Dart",
      "url": "http://oschina.org/p/dart"
    },
    {
      "description": "Python (发音:[ 'paiθ(ə)n; (US) 'pai...",
      "name": "Python",
      "url": "http://oschina.org/p/python"
    },
    {
      "description": "Go 已在Google公司内部测试过,但仍处于...",
      "name": "Go",
      "url": "http://oschina.org/p/go"
    },
    {
      "description": "Perl是一种脚本语言。 最初的设计者为拉...",
      "name": "Perl",
      "url": "http://oschina.org/p/perl"
    },
    {
      "description": "Ruby是一种跨平台、面向对象的动态类型编...",
      "name": "Ruby",
      "url": "http://oschina.org/p/ruby"
    }
  ],
  "count": 82
}

请求参数

Body 参数application/json
access_token
string 
必需
oauth2_token获取的access_token
tag
string 
必需
tagId,project_tag_list中的得到的tag
dataType
string 
必需
返回数据类型['json'|'jsonp'|'xml']
示例

返回响应

🟢200成功
application/json
Body
projectlist
array [object {3}] 
必需
description
string 
软件描述
必需
name
string 
软件名
必需
url
string 
链接
必需
count
integer 
该类型下的软件数
必需
notic
array [object {4}] 
必需
replyCount
string 
未读评论数
必需
msgCount
string 
未读私信数
必需
fansCount
string 
新增粉丝数
必需
referCount
string 
未读@我数
必需
修改于 2022-08-22 05:50:59
上一页
project_list
下一页
message_list
Built with