diff options
author | aunsane <aunsane@gmail.com> | 2018-01-14 22:02:44 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-01-14 22:03:16 +0300 |
commit | 7cb1539b0dbcf585472dd2341129adf174bb0bb5 (patch) | |
tree | 6879adfdd3ebf5f64557525df118e0753969fd95 /protocols/Steam/src/api/search.h | |
parent | a6b0d0df4854ffda2577e2b61844467253eb9e0f (diff) |
Steam: refactoring pt.2
Diffstat (limited to 'protocols/Steam/src/api/search.h')
-rw-r--r-- | protocols/Steam/src/api/search.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/protocols/Steam/src/api/search.h b/protocols/Steam/src/api/search.h index a34c2e8398..4484af4ba8 100644 --- a/protocols/Steam/src/api/search.h +++ b/protocols/Steam/src/api/search.h @@ -10,11 +10,23 @@ public: Uri
<< CHAR_PARAM("access_token", token)
<< CHAR_PARAM("keywords", text)
- << INT_PARAM("offset=%d", offset)
- << INT_PARAM("count=%d", count)
+ << INT_PARAM("offset", offset)
+ << INT_PARAM("count", count)
<< CHAR_PARAM("targets", "users")
<< CHAR_PARAM("fields", "all");
}
+
+ //{
+ // "count": 1,
+ // "total" : 336,
+ // "success" : true,
+ // "results" : [
+ // {
+ // "steamid": "XXXXXXXXXXXXXXXXX",
+ // "type" : "user"
+ // }
+ // ]
+ //}
};
#endif //_STEAM_REQUEST_SEARCH_H_
|