再做那個基本的網頁之前,
api我只有聽過,沒有碰過,
但為了實現我那無聊的網頁,
我也只能去嘗試了...
https://developers.wargaming.net/reference/all/wows/account/list/?application_id=demo&r_realm=asia
<最基本的教學>
在search打上遊戲暱稱(這裡以我的遊戲暱稱示範)
然後按下那個黃色按鈕SEND REQUEST
就會回傳資料啦
我們利用得到的account_id
再到Player personal data輸入account_id
就能抓到這個玩家的資料啦
在自己的網頁中,接收資料後用json_decode,大致上就能使用這些資料了
api我只有聽過,沒有碰過,
但為了實現我那無聊的網頁,
我也只能去嘗試了...
https://developers.wargaming.net/reference/all/wows/account/list/?application_id=demo&r_realm=asia
<最基本的教學>
在search打上遊戲暱稱(這裡以我的遊戲暱稱示範)
然後按下那個黃色按鈕SEND REQUEST
就會回傳資料啦
我們利用得到的account_id
再到Player personal data輸入account_id
就能抓到這個玩家的資料啦
在自己的網頁中,接收資料後用json_decode,大致上就能使用這些資料了
留言
張貼留言