무료 Riot Games API 정보
무료 Riot Games API본문
League of Legends, Teamfight Tactics, Valorant 등과 같은 게임의 데이터에 액세스하세요. 경기, 순위, 챔피언 등 게임 관련 통계 데이터를 제공합니다.
https://developer.riotgames.com/
const fetch = require('node-fetch');
const riotApiKey = 'YOUR_RIOT_API_KEY';
const summonerName = 'SUMMONER_NAME';
const url = `https://na1.api.riotgames.com/lol/summoner/v4/summoners/by-name/${summonerName}?api_key=${riotApiKey}`;
fetch(url)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
By 웹학교
추천
0
0
댓글 0개