質問編集履歴
4
書式の改善
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
League of Legendsというゲームのプレイヤーの試合履歴を取得する処理を作成しています。
|
2
2
|
|
3
|
-
一人のプレイヤーの対戦履歴を複数取得したいので運営元で公開されているriot APIからマッチデータを取得し、内部のmatchHistoryUriを使ってデータを取得してみました。
|
3
|
+
一人のプレイヤーの対戦履歴を複数取得したいので運営元で公開されているriot APIからマッチデータを取得し、内部のmatchHistoryUri(一人のプレイヤーの対戦履歴を最大20戦分取得できる)を使ってデータを取得してみました。
|
4
4
|
|
5
5
|
その結果ブラウザからは正常にアクセス出来たものの、AWS Cloud9からだとCAPTCHA認証になってしまいデータを取得することができませんでした。
|
6
6
|
|
3
書式の改善
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
その結果ブラウザからは正常にアクセス出来たものの、AWS Cloud9からだとCAPTCHA認証になってしまいデータを取得することができませんでした。
|
6
6
|
|
7
|
-
matchHistoryUriを使わずマッチデータを一件ごとに取得することも可能ですが、数百件取得すると制限に引っかかり、またmatchHistoryUriについても調べましたが
|
7
|
+
matchHistoryUriを使わずマッチデータを一件ごとに取得することも可能ですが、数百件取得すると制限に引っかかり、またmatchHistoryUriについても調べましたが下記のもの以外に情報が出てきませんでした。
|
8
8
|
|
9
9
|
最終的にはサービスとして公開したいのですが、なんとかriot APIへのアクセスを少なくしつつ、一人のプレイヤーの対戦履歴を複数取得する方法はないでしょうか。
|
10
10
|
|
2
書式の改善
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
1
書式の改善
title
CHANGED
File without changes
|
body
CHANGED
@@ -12,10 +12,10 @@
|
|
12
12
|
AWS Cloud9
|
13
13
|
|
14
14
|
公式ドキュメント:
|
15
|
-
https://developer.riotgames.com/api-methods/
|
15
|
+
[https://developer.riotgames.com/api-methods/](https://developer.riotgames.com/api-methods/)
|
16
16
|
|
17
17
|
参考にしたサイト:
|
18
|
-
https://discussion.developer.riotgames.com/questions/1661/how-to-use-matchhistoryuri.html
|
18
|
+
[https://discussion.developer.riotgames.com/questions/1661/how-to-use-matchhistoryuri.html](https://discussion.developer.riotgames.com/questions/1661/how-to-use-matchhistoryuri.html)
|
19
19
|
|
20
20
|
matchHistoryUriを使用した例:
|
21
|
-
https://acs.leagueoflegends.com/v1/stats/player_history/JP1/200384902
|
21
|
+
[https://acs.leagueoflegends.com/v1/stats/player_history/JP1/200384902](https://acs.leagueoflegends.com/v1/stats/player_history/JP1/200384902)
|