twisted
Fetching riot games api data
파일 탐색기
최종 버전 다운로드 (.zip)- build.yml
- codeql-analysis.yml
- coverage.yml
- deploy.yml
- lint.yml
- test.yml
- launch.json
- settings.json
- ClashTournamentById.example.ts
- ClashTournamentList.example.ts
- index.ts
- config.ts
- LolStatus.example.ts
- Match.example.ts
- MatchListing.example.ts
- MatchListingFiltering.example.ts
- MatchTimeline.example.ts
- SpectatorFeaturedGames.example.ts
- SpectatorSummoner.example.ts
- SummonerByAccountID.example.ts
- SummonerById.example.ts
- SummonerByName.example.ts
- ThirdPartyCode.example.ts
- ChallengerLeagueByQueue.example.ts
- Challenges.example.ts
- ChampionMasteryByPUUID.example.ts
- ChampionMasteryByPUUIDChampion.example.ts
- ChampionRotation.example.ts
- ChampionsScore.example.ts
- GameModes.DataDragon.ts
- GameTypes.DataDragon.ts
- GetChampion.DataDragon.ts
- GetChampionList.DataDragon.ts
- GetItemList.DataDragon.ts
- GrandMasterLeagueByQueue.example.ts
- index.ts
- Languages.DataDragon.ts
- League.example.ts
- LeagueByPUUID.example.ts
- LeagueEntries.example.ts
- LeagueExp.example.ts
- Maps.DataDragon.ts
- MasterLeagueByQueue.example.ts
- MatchV5Replays.example.ts
- MatchV5TimelineLatestMatch.example.ts
- Queues.DataDragon.ts
- Realms.DataDragon.ts
- RunesReforged.DataDragon.ts
- Seasons.DataDragon.ts
- SeedMatches.DataDragon.ts
- SpectatorFeaturedGamesV5.example.ts
- SpectatorSummonerV5.example.ts
- StatusV4.example.ts
- SummonerByPUUID.example.ts
- SummonerLeague.example.ts
- Versions.DataDragon.ts
- Account.examples.ts
- AccountRegion.examples.ts
- index.ts
- index.ts
- StaticFiles.example.ts
- SummonerTFT.example.ts
- TftLeagueBySummoner.example.ts
- TftLeagueByTierDivision.example.ts
- TftMatchDetails.example.ts
- TftMatchList.example.ts
- TftMatchListDetails.example.ts
- TftSpectatorActiveGames.example.ts
- TftSpectatorFeaturedGames.example.ts
- index.ts
- README.md
- base.api.lol.ts
- challenges.ts
- champion.ts
- clash.api.lol.ts
- DataDragonService.ts
- league.ts
- match-v5.ts
- match.ts
- index.ts
- seed.ts
- spectator-v5.ts
- spectator.ts
- status-v4.ts
- status.ts
- summoner.ts
- thirdPartyCode.ts
- lol.ts
- account.ts
- base.api.riot.ts
- riot.ts
- base.api.tft.ts
- league.tft.ts
- match.tft.ts
- spectator-v5.tft.ts
- champions.json
- hexes.json
- items.json
- traits.json
- static.ts
- summoner.ts
- tft.ts
- index.ts
- base.const.ts
- base.ts
- base.utils.ts
- logger.base.ts
- request.base.ts
- champions.ts
- dataDragon.ts
- dataSeed.ts
- division.ts
- gameModes.ts
- games.ts
- gameTypes.ts
- http-status.ts
- index.ts
- levels.ts
- queues.ts
- realmServers.ts
- regions.test.ts
- regions.ts
- seasons.ts
- summoner.find.ts
- tier.ts
- endpoints.ts
- index.ts
- api-key-not-found.error.ts
- base.ts
- Generic.error.ts
- index.ts
- rate-limit.error.ts
- service-unavailable.error.ts
- account-region.dto.ts
- account.dto.ts
- index.ts
- api-response.ts
- index.ts
- challenge-percentiles.dto.ts
- config.dto.ts
- index.ts
- leaderboard.dto.ts
- percentiles.dto.ts
- player.dto.ts
- champion-mastery.dto.ts
- champion-rotation.dto.ts
- champions-score.dto.ts
- index.ts
- milestone.dto.ts
- enum.clash.ts
- tournament-schedule.clash.dto.ts
- tournament.clash.dto.ts
- player.clash.dto.ts
- team.clash.dto.ts
- champions.datadragon.dto.ts
- game-modes.datadragon.dto.ts
- game-types.datadragon.dto.ts
- index.ts
- items.datadragon.dto.ts
- maps.datadragon.dto.ts
- queues.datadragon.dto.ts
- realm.datadragon.dto.ts
- runes-reforged.dto.ts
- league-entry.dto.ts
- index.ts
- league-item.dto.ts
- league-list.dto.ts
- index.ts
- miniseries.dto.ts
- summoner-league.dto.ts
- index.ts
- LeagueEntryDTO.dto.ts
- index.ts
- index.ts
- match-participant.dto.ts
- match-participants-identities-player.dto.ts
- match-participants-mastery.dto.ts
- match-participants-rune.dto.ts
- match-participants-stats.dto.ts
- match-participants-timeline.dto.ts
- match-participantsIdentities.dto.ts
- match-teams-bans.dto.ts
- match-teams.dto.ts
- match.dto.ts
- index.ts
- match-listing-matches.dto.ts
- match-listing.dto.ts
- index.ts
- match-event.dto.ts
- match-participant-frame.dto.ts
- match-position.dto.ts
- match-timeline.dto.ts
- matchm-timeline-frame.dto.ts
- index.ts
- match-replays.dto.ts
- match-timeline.dto.ts
- match.dto.ts
- index.ts
- match-query.dto.ts
- index.ts
- match-query-v5.dto.ts
- companion-dto.dto.ts
- index.ts
- info.dto.ts
- match-tft-query.dto.ts
- match-tft.dto.ts
- metadata.dto.ts
- participant-tft.dto.ts
- trait.dto.ts
- unit.dto.ts
- index.ts
- index.ts
- rate-limit.dto.ts
- current-game-info-tft.dto.ts
- featured-games-tft.dto.ts
- index.ts
- current-game-info.dto.ts
- current-game-participant.dto.ts
- featured-game-info.dto.ts
- featured-games.dto.ts
- game-customization-object.dto.ts
- index.ts
- observer.dto.ts
- participant.dto.ts
- perks.dto.ts
- spectator-not-available.dto.ts
- index.ts
- tft-champions.dto.ts
- tft-hexes.dto.ts
- tft-items.ts
- tft-trait.ts
- index.ts
- lol-status-content.dto.ts
- lol-status-platform-data.dto.ts
- lol-status-status.dto.ts
- lol-status-update.dto.ts
- index.ts
- lol-status-service-incidents-updates.dto.ts
- lol-status-service-indicents-updates-translations.ts
- lol-status-service-indicents.dto.ts
- lol-status-service.dto.ts
- lol-status.dto.ts
- index.ts
- summoner.dto.ts
- index.ts
- third-party-code.dto.ts
- index.ts
- index.ts
- champion.test.ts
- spectator.test.ts
- summoner.test.ts
- thirdPartyCode.test.ts
- champion.test.ts.snap
- champion.test.ts
- loadEnv.ts
- base.test.ts
- live.test.ts
- request.test.ts
- .dockerignore
- .eslintrc.cjs
- .gitignore
- .npmignore
- CLAUDE.md
- docker-compose.yml
- examples.Dockerfile
- jest.config.js
- LICENSE
- package.json
- README.md
- runExamples.ts
- SECURITY.md
- tsconfig.json
- tsup.config.ts
- yarn.lock
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/justadev-afk/twisted
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd twisted
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker compose up -d --build
정의된 모든 컨테이너(서버, DB 등)를 한 번에 빌드하고 백그라운드에서 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Node.js
쉬움사전 준비물
npm install twisted
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
yarn add twisted
이 명령어를 터미널에 그대로 입력해 실행하세요.
pnpm add twisted
이 명령어를 터미널에 그대로 입력해 실행하세요.
RIOT_API_KEY=RGAPI-xxxx yarn example
이 명령어를 터미널에 그대로 입력해 실행하세요.
RIOT_API_KEY=RGAPI-xxxx yarn example summoner
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
