일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- 알고리즘
- programmers
- 롤
- Django
- 라이엇
- 그리디알고리즘
- 파이썬
- python
- 프로그래머스
- 자바
- 장고
- 그리디
- drf
- API
- java
- git
- github
- greedy
- 코딩테스트준비
- 스파르타내일배움캠프
- 탐욕알고리즘
- 스파르타내일배움캠프TIL
- sort
- 백준
- Riot
- 내일배움캠프
- lol
- 코딩테스트
- SQL
- 리그오브레전드
- Today
- Total
목록leagueoflegends (3)
Lina's Toolbox
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/EkeoE/btsJ4vHku6R/pSdkksB8KAQrdC4hO2Shpk/img.png)
1. puuid로 matchId 구하기나는 소환사가 주로 플레이하는, 선호하는 포지션(라인) 정보를 가져오기를 원했다.그런데 지금 Secret Client를 발급을 못받았기 때문에 RSO가 불가능한 상황인데, 이상하게 지금 공식 docs에는 매치정보는 RSO로 조회하는 것밖에 없다..ㅠㅠ 그래서 포기해야하나.. 하다가 그냥 Endpoint를 내맘대로 작성해봤는데,ㅋㅋㅋㅋㅋ아닠ㅋㅋ혹시나 해서 https://asia.api.riotgames.com/lol/match/v5/matches/by-puuid/{puuid}/ids?api_key={api_key} 이렇게 해봤더니 진짜 된다!!!그래서 신나게 이걸 이용했다! 파이썬 코드def get_match_ids(api_key, puuid): """PUUID로..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/yBA1n/btsJ32TcYbf/vfbdmKJfNkKPw9Pa2UA4xk/img.png)
https://developer.riotgames.com/apis Riot Developer Portal developer.riotgames.com라이엇 API는 여기에 정리 되어있다! 소환사명 + 태그로 puuid 발급 받기라이엇 API는 대부분 원하는 정보를 바로 얻을 수 없고,대부분 1을 구한 뒤 , 1을 이용해 2를 구하고, 2를 이용해 마침내 내가 원하던 정보 3을 구할 수 있는 식이다.가장 1번이 되는 게 보통 이 puuid를 구하는 것이다. Jump to Inputs 눌러서(아래) 가보자. 파라미터를 입력해준다. 나는 내가 사랑하는 우리혁의 유저네임으로 입력해봤다.다음으로 맞는 지역을 선택하자. 한국은 ASIA서버에 속해있다. 그리고 API Key는 발급받은 production key가 있..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/cDyQmM/btsJ2Twtdxz/4Ko1w8Z6j3MbUnLFeOEYik/img.png)
먼저 개발자 API key 를 발급받자.https://developer.riotgames.com/ Riot Developer PortalAbout the Riot Games API With this site we hope to provide the League of Legends developer community with access to game data in a secure and reliable way. This is just part of our ongoing effort to respond to players' and developers' requests for data anddeveloper.riotgames.com이 키를 그냥 사용해도 되지만, Rate limit도 작고 1일 정도 후에 만..