飓风站长平台

beta

1.5 开放API

调用API有多简单? 只要这么几行代码

           $appid,
              'uid'   => $uid,
              'verify'=> $verify
          );
          //请求api
          $ch = curl_init ();
          curl_setopt ( $ch, CURLOPT_URL, $api );
          curl_setopt ( $ch, CURLOPT_POST, 1 );
          curl_setopt ( $ch, CURLOPT_HEADER, 0 );
          curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, 1 );
          curl_setopt ( $ch, CURLOPT_POSTFIELDS, $data );
          $return = curl_exec ( $ch );
          curl_close ( $ch );
          //取得游戏列表
          print_r(json_decode($return,true);

 

游戏相关

-getGameList

-getServerList

-getGameUrl

-getAdvGame

-getOpenList

-getGameInfo

-getLastPlay

-getServerInfo

-getRoleInfo

-getPayUrl

新闻相关

-getNewsList

-getNewsContent

-getStrategyList

-getGameStrategy

平台相关

-getGameCard

-getUserInfo

-getTaskList

-getTaskRecord

-getTaskResult

-getMallList

-getShopResult

-getFirstPay