{"id":17,"date":"2017-07-02T19:55:12","date_gmt":"2017-07-02T11:55:12","guid":{"rendered":"https:\/\/103.249.111.182\/?p=17"},"modified":"2017-07-02T19:55:12","modified_gmt":"2017-07-02T11:55:12","slug":"steambot","status":"publish","type":"post","link":"https:\/\/7gugu.com\/index.php\/2017\/07\/02\/steambot\/","title":{"rendered":"Steam\u4ea4\u6613\u673a\u5668\u4ebaAPI"},"content":{"rendered":"<p><!--markdown--><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><span style=\"font-size: x-large;\"><strong>\u7b80\u4ecb:<\/strong><\/span><\/span><br \/>\n<span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u76ee\u524d\u5df2\u63d0\u4f9b\u5b8c\u6574\u7684\u51fd\u6570\u5e93,\u5404\u4f4ddalao\u53ef\u76f4\u63a5\u901a\u8fc7\u4e8c\u6b21\u5f00\u53d1\u6210Bot\u4fbf\u53ef\u6295\u5165\u4f7f\u7528,\u672c\u9879\u76ee\u4e25\u683c\u9075\u5b88<span style=\"color: red;\"><strong>Apache License V2<\/strong><\/span><\/span><br \/>\n<span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u4ee5\u4e0b\u4e3a\u76ee\u524d\u5df2\u5b9e\u73b0\u7684API<br \/>\n<\/span><\/p>\n<ul>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u63a5\u53d7\/\u62d2\u7edd\/\u53d6\u6d88\/\u53d1\u8d77\u4ea4\u6613<\/strong><\/span><\/li>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u652f\u6301\u4e8c\u6b65\u9a8c\u8bc1\u7684\u767b\u5f55<\/strong><\/span><\/li>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u83b7\u53d6\u5355\u7b14\u4ea4\u6613\u72b6\u6001<\/strong> <\/span><\/li>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u83b7\u53d6steamID SessionID<\/strong><\/span><\/li>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u83b7\u53d6\u73a9\u5bb6\u6e38\u620f\u5217\u8868<\/strong><\/span><\/li>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u83b7\u53d6API\u79d8\u94a5<\/strong><\/span><\/li>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u83b7\u53d6\u73a9\u5bb6\u5e93\u5b58<\/strong><\/span><\/li>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u652f\u6301\u81ea\u52a8\u8fc7\u4e8c\u6b65\u9a8c\u8bc1[\u9700\u8981\u63d0\u4f9bshared_sersect,\u65b9\u6cd5\u8be6\u53c2\u6211\u7684\u535a\u5ba2]<\/strong><\/span><\/li>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u652f\u6301\u9762\u5bf9\u8c61<\/strong><br \/>\n<\/span><\/li>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u652f\u6301\u904d\u5386\u672a\u786e\u8ba4\u7684\u4ea4\u6613\u8bf7\u6c42<\/strong><\/span><\/li>\n<li><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><strong>\u786e\u8ba4\/\u53d6\u6d88\u53d1\u56de\u9970\u54c1\u7684\u4ea4\u6613<\/strong><\/span><\/li>\n<\/ul>\n<p><strong><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><span style=\"font-size: x-large;\">\u4e0b\u8f7d\u94fe\u63a5:<\/span><\/span><\/strong><\/p>\n<p><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">Git\u5e93\u5730\u5740:<\/span><\/p>\n<p><a href=\"https:\/\/gitee.com\/7gugu\/steamBot\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/gitee.com\/7gugu\/steamBot\/widgets\/widget_card.svg?colors=4183c4,ffffff,ffffff,e3e9ed,666666,9b9b9b\" width=\"600\" height=\"261\" \/><\/a><\/p>\n<p><span style=\"font-size: x-large;\"><strong><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u4f7f\u7528\u65b9\u6cd5:<\/span><\/strong><\/span><\/p>\n<div class=\"blockcode\">\n<div id=\"code_n9N\">\n<pre>&lt;?php \n\/\/\u767b\u5f55DEMO \nrequire('steambot_function.php'); \n$obj = new SteamBot(); \n$res=$obj-&gt;login(\"7gugu\",\"password\");\nvar_dump($res);\n?&gt;\n<\/pre>\n<\/div>\n<\/div>\n<p><span style=\"font-size: x-large;\"><strong>\u53ef\u7528\u65b9\u6cd5:<\/strong><\/span><\/p>\n<table class=\"t_table\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td>setSteamID<\/td>\n<td>\u8bbe\u5b9aSteamID<\/td>\n<\/tr>\n<tr>\n<td>setDeviceID<\/td>\n<td>\u8bbe\u5b9aDeviceID<\/td>\n<\/tr>\n<tr>\n<td>setSharedSecret<\/td>\n<td>\u8bbe\u5b9aSharedSecert<\/td>\n<\/tr>\n<tr>\n<td>setIdentitySecret<\/td>\n<td>\u8bbe\u5b9aIdentitySecret<\/td>\n<\/tr>\n<tr>\n<td>getApiKey<\/td>\n<td>\u83b7\u53d6API-KEY<\/td>\n<\/tr>\n<tr>\n<td>getgamelist<\/td>\n<td>\u83b7\u53d6\u7528\u6237\u6e38\u620f\u5217\u8868<\/td>\n<\/tr>\n<tr>\n<td>getinventory<\/td>\n<td>\u83b7\u53d6\u7528\u6237\u5e93\u5b58<\/td>\n<\/tr>\n<tr>\n<td>send<\/td>\n<td>\u53d1\u8d77\u4e00\u7b14\u9970\u54c1\u4ea4\u6613<\/td>\n<\/tr>\n<tr>\n<td>login<\/td>\n<td>\u767b\u5f55Steam\u8d26\u6237<\/td>\n<\/tr>\n<tr>\n<td>acceptoffer<\/td>\n<td>\u63a5\u53d7\u4ea4\u6613\u62a5\u4ef7<\/td>\n<\/tr>\n<tr>\n<td>canceloffer<\/td>\n<td>\u53d6\u6d88\u4ea4\u6613\u62a5\u4ef7<\/td>\n<\/tr>\n<tr>\n<td>declineoffer<\/td>\n<td>\u62d2\u7edd\u4ea4\u6613\u62a5\u4ef7<\/td>\n<\/tr>\n<tr>\n<td>GenerateSteamGuardCode<\/td>\n<td>\u751f\u62102FA\u9a8c\u8bc1\u7801<\/td>\n<\/tr>\n<tr>\n<td>fetchConfirmations<\/td>\n<td>\u904d\u5386\u786e\u8ba4\u5217\u8868<\/td>\n<\/tr>\n<tr>\n<td>getConfirmationTradeOfferId<\/td>\n<td>\u83b7\u53d6\u4ea4\u6613\u786e\u8ba4\u9875\u7684TradeOfferId<\/td>\n<\/tr>\n<tr>\n<td>acceptConfirmation<\/td>\n<td>\u63a5\u53d7\u786e\u8ba4\u8bf7\u6c42<\/td>\n<\/tr>\n<tr>\n<td>cancelConfirmation<\/td>\n<td>\u53d6\u6d88\u786e\u8ba4\u8bf7\u6c42<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-size: x-large;\"><strong><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u5f00\u53d1\u6587\u6863:<br \/>\n<\/span><\/strong><\/span><a href=\"https:\/\/www.yuque.com\/books\/share\/8f76ee1e-917e-4656-82d2-cebec314829c?#\">https:\/\/www.yuque.com\/books\/share\/8f76ee1e-917e-4656-82d2-cebec314829c?#<\/a><br \/>\n<span style=\"font-size: x-large;\"><strong><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u6ce8\u610f\u4e8b\u9879:<\/span><\/strong><\/span><br \/>\n\u8fd9\u4e9b\u662f\u4f7f\u7528Umarket\u8bd5\u8fd0\u8425\u540e\u5f97\u51fa\u7684\u4e00\u4e9b\u6ce8\u610f\u4e8b\u9879,\u8bf7\u6ce8\u610f!<\/p>\n<ul class=\"litype_1\" type=\"1\">\n<li>\u673a\u5668\u4eba\u8d26\u6237\u4e00\u5b9a\u8981\u6709\u8d85\u8fc75USD\u7684\u4ea4\u6613\u8bb0\u5f55,\u4e0d\u7136\u4f5c\u4e3a\u53d7\u9650\u8d26\u6237\u662f\u65e0\u6cd5\u53d1\u8d77\u53d1\u56de\u4ea4\u6613\u7684<\/li>\n<li>\u673a\u5668\u4eba\u4e00\u5b9a\u8981\u6709\u6d88\u8d39\u8bb0\u5f55,\u4e0d\u7136\u53ef\u80fd\u4f1a\u53d7\u9650,\u6682\u6302\u4f4f\u5546\u54c1<\/li>\n<li>Steamcommunity\u6781\u5176\u4e0d\u7a33\u5b9a,\u6709\u65f6\u5019login\u8fd4\u56deNull\u6216\u8005Empty Response\u90fd\u662f\u56e0\u4e3a\u65e0\u6cd5\u6b63\u5e38\u8bbf\u95eeSteam\u7684\u670d\u52a1\u9020\u6210\u7684<\/li>\n<li>Steam\u7684\u4ea4\u6613\u786e\u8ba4\u9875\u9762\u6709\u65f6\u5019\u4f1a\u62bd\u6410,\u9700\u8981\u591a\u52a0\u8f7d\u51e0\u6b21,\u624d\u80fd\u5237\u65b0\u51fa\u6765<\/li>\n<li>\u89e3\u51b3\u65e0\u6cd5\u8bbf\u95eeSteam\u670d\u52a1\u7684\u65b9\u6cd5\u6709\u4e24\u4e2a\u4e00\u662f\u4f7f\u7528\u5404\u5bb6\u7684\u52a0\u901f\u5668,\u4e8c\u662f\u4f7f\u7528\u79d1\u5b66\u624b\u6bb5\u6765\u4fee\u590d\u7f51\u7edc\u4e0d\u53ef\u7528,\u4e09\u662f\u628a\u673a\u5668\u4eba\u653e\u5230\u56fd\u5916\u53bb<\/li>\n<\/ul>\n<p><span style=\"font-size: x-large;\"><strong><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><br \/>\n<\/span><\/strong><\/span><br \/>\n<span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><span style=\"font-size: x-large;\"><strong>\u8054\u7cfb\u65b9\u5f0f:<\/strong><\/span><\/span><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><br \/>\n<\/span><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u90ae\u7bb1:gz7gugu@qq.com<\/span><\/p>\n<p><i><strong><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">[\u6709\u95ee\u9898\u90ae\u7bb1\u7559\u8a00,\u6211\u770b\u5f97\u89c1\u7684]<\/span><\/strong><\/i><br \/>\n<span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><br \/>\n<\/span><\/p>\n<p><strong><span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\"><span style=\"font-size: x-large;\">\u66f4\u65b0\u65e5\u5fd7:<\/span><\/span><\/strong><\/p>\n<p>2020\/02\/09:<\/p>\n<p>\u52a0\u5165\u4e86\u767b\u5f55\u6837\u4f8b,\u5176\u5b9e\u4e0d\u662f\u4eca\u5929\u52a0\u7684,\u6211\u5fd8\u4e86\u51c6\u786e\u65f6\u95f4\u4e86,\u5c31\u778e\u5199\u4e86\u4e2a\u65f6\u95f4,\u76ee\u524d\u767b\u5f55\u6a21\u5757\u4f9d\u65e7\u53ef\u4ee5\u7528,\u4f46\u8bf7\u52a1\u5fc5\u6302\u4ee3\u7406,\u624d\u80fd\u767b\u9646\u6210\u529f<br \/>\n<span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">2019\/06\/15:<\/span><br \/>\n<span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u65f6\u9694\u4e00\u5e74\u65f6\u95f4,\u52a0\u5165\u4e86\u904d\u5386\u786e\u8ba4\u7684\u529f\u80fd\u3002<\/span><br \/>\n<span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">Umarket\u4e5f\u5f03\u5751\u4e86[\u9879\u76ee\u592a\u5927\u4e86,\u4e00\u4e2a\u4eba\u65e0\u6cd5carry,\u4ee5\u540e\u518d\u8003\u8651\u7528\u6846\u67b6\u91cd\u5199]<\/span><br \/>\n<span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u4e0d\u8fc7\u8fd9\u4e2aSteamBot\u7ec8\u4e8e\u53ef\u4ee5\u7528\u4e8e\u5b9e\u9645\u7684\u9879\u76ee\u4e2d\u4e86,\u5df2\u5f62\u6210\u4e00\u4e2a\u4ea4\u6613\u95ed\u73af\u4e86,\u63a5\u4e0b\u53bb\u5c31\u4ea4\u7531\u5404\u4f4ddalao\u505a\u4e0b\u53bb\u5427OWO<\/span><br \/>\n<span style=\"font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u8fd8\u6709\u5c31\u662f,\u6b22\u8fce\u5927\u5bb6\u5e38\u5230\u6211\u7684Blog\u770b\u770b\u5440,\u5c31\u5199\u5230\u8fd9\u4e86,Peace<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b80\u4ecb: \u76ee\u524d\u5df2\u63d0\u4f9b\u5b8c\u6574\u7684\u51fd\u6570\u5e93,\u5404\u4f4ddalao\u53ef\u76f4\u63a5\u901a\u8fc7\u4e8c\u6b21\u5f00\u53d1\u6210Bot\u4fbf\u53ef\u6295\u5165\u4f7f\u7528,\u672c\u9879\u76ee\u4e25\u683c\u9075\u5b88Apach &hellip; <a href=\"https:\/\/7gugu.com\/index.php\/2017\/07\/02\/steambot\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cSteam\u4ea4\u6613\u673a\u5668\u4ebaAPI\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,30],"tags":[34],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-codetype","category-dev","tag-steambot"],"_links":{"self":[{"href":"https:\/\/7gugu.com\/index.php\/wp-json\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/7gugu.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/7gugu.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/7gugu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/7gugu.com\/index.php\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":0,"href":"https:\/\/7gugu.com\/index.php\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"wp:attachment":[{"href":"https:\/\/7gugu.com\/index.php\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/7gugu.com\/index.php\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/7gugu.com\/index.php\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}