api.steamrepcn.com Open in urlscan Pro
43.154.174.233  Public Scan

Submitted URL: https://api.steamrepcn.com/
Effective URL: https://api.steamrepcn.com/doc/
Submission: On February 21 via automatic, source certstream-suspicious — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

x
 * 说明
 * User
 * 查看用户信息
 * 查看用户的所有评论


STEAMREPCN API


STEAMREPCN APIDOC

1.0.0 
 * Compare all with predecessor
 * 
 * show up to version:
 * 1.0.0



api地址为:https://api.steamrepcn.com

点我获取access_token。


USER


USER - 查看用户信息

1.0.0 
 * compare changes to:
 * 1.0.0


get

/v1/user/:steamid64


HEADER

Field Type Description Accept String

可以接受的媒体类型

Authorization String

访问令牌

 * Example:

Accept: application/xml
Authorization: Bearer access_token


PARAMETER

Field Type Description steamid64 Number

用户的SteamID64


SUCCESS 200

Field Type Description steamid64 Number

用户SteamID64

stcn String

STCN用户名

tieba String

贴吧用户名

taobao String

淘宝店铺

review_good Number

好评数

review_bad Number

差评数

 * json:
 * xml:

{
    "steamid64": "76561198033715344",
    "stcn": "vbmnvbn",
    "tieba": "vbmnvbn",
    "taobao": "",
    "review_bad": "0",
    "review_good": "105"
}

<?xml version="1.0" encoding="UTF-8"?>
<response>
 <steamid64>76561198033715344</steamid64>
 <stcn>vbmnvbn</stcn>
 <tieba>vbmnvbn</tieba>
 <taobao></taobao>
 <review_bad>0</review_bad>
 <review_good>105</review_good>
</response>


ERROR 4XX

Name Type Description TooManyRequests json

访问次数过于频繁

Unauthorized json

未授权

 * TooManyRequests:
 * Unauthorized:

HTTP/1.1 429 Too Many Requests
{
 "name":"Too Many Requests",
 "message":"Rate limit exceeded.",
 "code":0,
 "status":429,
 "type":"yii\\web\\TooManyRequestsHttpException"
}

HTTP/1.1 401 Unauthorized
{
 "name":"Unauthorized",
 "message":"You are requesting with an invalid credential.",
 "code":0,
 "status":401
}


USER - 查看用户的所有评论

1.0.0 
 * compare changes to:
 * 1.0.0


get

/v1/review/:steamid64/:page


HEADER

Field Type Description Accept String

可以接受的媒体类型

Authorization String

访问令牌

 * Example:

Accept: application/xml
Authorization: Bearer access_token


PARAMETER

Field Type Description steamid64 Number

用户的SteamID64

page Number

页数,无默认值


SUCCESS 200

Field Type Description items Object[]   item Object     steamid64 Number

评论者的SteamID64

    content String

评论内容

    value Number

评论值

    timestamp Number

评论时间戳

_links Object   self String

当前链接

  next String

下一页链接

  last String

最后一页链接

_meta Object   totalCount Number

总评论数

  pageCount Number

总页数

  currentPage Number

当前页数

  perPage Number

每页评论数

 * json:
 * xml:

{
    "items": [
        {
            "steamid64": "76561198081094193",
            "content": "买过~很好~",
            "value": 1,
            "timestamp": 1415528373
        },
        {
            "steamid64": "76561198128759021",
            "content": "+REP,入过Aquaria",
            "value": 1,
            "timestamp": 1415564838
        }
    ],
    "_links": {
        "self": {
            "href": "https://api.steamrepcn.com/v1/review/76561198033715344/1"
        },
        "next": {
            "href": "https://api.steamrepcn.com/v1/review/76561198033715344/2"
        },
        "last": {
            "href": "https://api.steamrepcn.com/v1/review/76561198033715344/6"
        }
    },
    "_meta": {
        "totalCount": 106,
        "pageCount": 6,
        "currentPage": 1,
        "perPage": 20
    }
}

<?xml version="1.0" encoding="utf-8"?>
<response>
<items>
  <item>
    <steamid64>76561198081094193</steamid64>
    <content>买过~很好~</content>
    <value>1</value>
    <timestamp>1415528373</timestamp>
  </item>
  <item>
    <steamid64>76561198128759021</steamid64>
    <content>+REP,入过Aquaria</content>
    <value>1</value>
    <timestamp>1415564838</timestamp>
  </item>
</items>
<_links>
  <self>
    <href>https://api.steamrepcn.com/v1/review/76561198033715344/1</href>
 </self>
 <next>
   <href>https://api.steamrepcn.com/v1/review/76561198033715344/2</href>
 </next>
  <last>
    <href>https://api.steamrepcn.com/v1/review/76561198033715344/6</href>
  </last>
</_links>
<_meta>
 <totalCount>106</totalCount>
 <pageCount>6</pageCount>
  <currentPage>1</currentPage>
  <perPage>20</perPage>
</_meta>
</response>


ERROR 4XX

Name Type Description TooManyRequests json

访问次数过于频繁

Unauthorized json

未授权

 * TooManyRequests:
 * Unauthorized:

HTTP/1.1 429 Too Many Requests
{
 "name":"Too Many Requests",
 "message":"Rate limit exceeded.",
 "code":0,
 "status":429,
 "type":"yii\\web\\TooManyRequestsHttpException"
}

HTTP/1.1 401 Unauthorized
{
 "name":"Unauthorized",
 "message":"You are requesting with an invalid credential.",
 "code":0,
 "status":401
}


Generated with apidoc 0.17.6 - 2017-12-09T10:49:44.905Z