728x90
반응형
SMALL
/lol/summoner/v4/summoners/by-name/{summonerName}
NAMEDATA TYPEDESCRIPTION
accountId | string | Encrypted account ID. Max length 56 characters. |
profileIconId | int | ID of the summoner icon associated with the summoner. |
revisionDate | long | Date summoner was last modified specified as epoch milliseconds. The following events will update this timestamp: profile icon change, playing the tutorial or advanced tutorial, finishing a game, summoner name change |
name | string | Summoner name. |
id | string | Encrypted summoner ID. Max length 63 characters. |
puuid | string | Encrypted PUUID. Exact length of 78 characters. |
summonerLevel | long | Summoner level associated with the summoner. |
ex)
아이디
암호화 된 아이디
암호화 된 계정 아이디
puuid
계정 이름
아이콘 아이디
최신화된 시간 ( 게임이 끝나거나 튜터리얼 등을 끝내고 갱신된 시간)
1970 년을 기준으로 밀리세컨 변환을 해서 나타내야함.
예 :
1666206689000
밀리세컨 기준이므로 뒤에 3자리를 제거
swift 는 유닉스 탄생일 기념 이스터에그가 있다는...
프로퍼티명 자체가 timeIntervalSince1970임.
거기에 표준시 +9 해주면 최근 게임시간이 나옴
let revisionDate = Date(timeIntervalSince1970: 1666206689 + 32400)
프린트를 찍어보면!!
개같이 새벽 4시 11분까지 게임한게 들켜버림 :)
소환사 레벨
/tft/summoner/v1/summoners/by-account/{encryptedAccountId}
Riot Developer Portal
developer.riotgames.com
같은 내용을 계정 ID로 검색하는 API
/tft/summoner/v1/summoners/by-puuid/{encryptedPUUID}
Riot Developer Portal
developer.riotgames.com
같은 내용을 puuid로 검색
728x90
반응형
LIST