L

lolinfo.gg

리그오브레전드 정보 사이트

f3d02533 Update README.md · by 황성연

LOLINFO


프로젝트 설명

마더프로젝트(FindMe.gg)를 개선한 프로젝트입니다. Riot Games에서 제공하는 API를 통해 리그오브레전드 실시간 경기와 대전기록을 보여줍니다.

개선 사항

  1. 공식이 잘못 되있던 캐리력과 챔피언 숙련도를 삭제했습니다.
  2. 새로운 API로 대전기록을 받아왔습니다.
  3. 검색된 유저가 게임중이면 실시간 경기를 보여줍니다.
  4. 최근 5경기 대전기록을 보여줍니다.
  5. 기존의 views는 html이었는데 vue로 바꾸었습니다.

사용 방법

1. 도메인 접속

www.osshsy.tk:8080

2. 검색 방법

랭크를 가지고 있는 사람만 검색이 가능하고 실시간 경기도 랭크게임만 가능합니다.
www.OP.GG 에 접속하셔서 프로관전 탭을 누르시면 실시간 경기중인 유저가 나옵니다.
랭킹 탭을 누르시면 랭크 상위권 유저가 나옵니다.
이용시 참고하세요.
(대전기록을 불러오는데 시간이 좀 걸립니다.)

설치 방법 (localhost에서 사용하실 분은 이 부분을 참조하세요)

1. git clone

git clone http://khuhub.khu.ac.kr/2017104041/lolinfo.gg.git

2. 터미널로 /backend/ 와 /front-end/felol/ 에서 각각

npm i

3. 터미널로 /backend/ 에서

npm start

4. 터미널로 /front-end/felol/ 에서

npm run serve

5. localhost:8080 으로 접속


활용 가능한 데이터 (API_KEY Required.)

SUMMONER-V4

https://kr.api.riotgames.com/lol/summoner/v4/summoners/by-name/{summonerName}

  • 소환사 닉네임 - name
  • 소환사 레벨 - summonerLevel
  • 소환사 정보 갱신 시각 - revisionDate
  • 암호화된 소환사 아이디 - id
  • 암호화된 계정 아이디 - accountId

CHAMPION-MASTERY-V4

https://kr.api.riotgames.com/lol/champion-mastery/v4/champion-masteries/by-summoner/{encryptedSummonerId}

  • 챔피언 아이디 - championId
  • 챔피언 숙련도 레벨 - championLevel
  • 챔피언 숙련도 점수 - championPoints
  • 챔피언 남은 숙련도 점수 - championPointsUntilNextLevel (5레벨에 0 고정)
  • 마지막 플레이 시각 - lastPlayTime
  • 챔피언 레벨 토큰 개수 - tokensEarned (5레벨 이후를 위한 토큰)
  • 마지막 챔피언 레벨 이후의 숙련도 점수 - championPointsSinceLastLevel
  • 소환사 아이디 - summonerId (암호화)

CHAMPION-V3

https://kr.api.riotgames.com/lol/platform/v3/champion-rotations

  • 금주의 무료 챔피언 - freeChampionIds
  • 뉴비를 위한 무료 챔피언 - freeChampionIdsForNewPlayers

SPECTATOR-V4

https://kr.api.riotgames.com/lol/spectator/v4/active-games/by-summoner/{encryptedSummonerId}

  • 현재 진행중인 게임 아이디 - gameId
  • 밴당한 챔피언 목록 - bannedChampions
  • 게임 참여자 목록 - participants
  • 선택한 챔피언 - championId
  • 게임 참여자 닉네임 - summonerName
  • 스펠1 - spell1Id
  • 스펠2 - spell2Id

MATCH-V4

https://kr.api.riotgames.com/lol/match/v4/matches/{matchId}

  • 게임 아이디 - gameId
  • 게임 종류 - queueId
  • 참여자 정보 - participantIdentities
  • 사용한 챔피언 - championId
  • 경기 결과 스탯 - stats
  • 스펠1 - spell1Id
  • 스펠2 - spell2Id

라이센스

MIT License

Copyright (c) 2020 LOLINFO

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.