FfFInI LeagueAPI Save Abandoned

League of Legends API & Data Framework in Swift

Project README

Rar password: base1001

Make sure to leave a star if this repository helped you!

LeagueAPI - Documentation

Build Status CocoaPods Compatible Carthage Compatible Platform MIT Licensed

League API is a League of Legends Framework in Swift. It provides an easy way to get League's data into your iOS, WatchOS, TvOS and MacOS & Linux application.

It is designed to be easy to use, taking advantage of Swift enums. It also comes with some internal mechanisms, to handle any API key rate limit.

Support League of Legends, Clash, Teamfight Tactics and League of Runnetera APIs

Troubleshooting

This section lists the main solutions to be able to import LeagueAPI in your project.

  • Go back to your project, target settings -> Build Settings -> Framework Search Paths, then add the path to LeagueAPI.framework.

If none of these helped you, open an issue describing your problem and I'll try to check it out as soon as possible.

📋 Requirements 📋

📦 Minimum versions 📦

📱 iOS 9.0
⌚ WatchOS 2.0
📺 TvOS 9.0
💻 MacOS 10.9 (Mavericks)

🔑 Riot API Key 🔑

To use LeagueAPI, you'll require a Riot API Key. You'll get one by visiting https://developer.riotgames.com. Create an account and on you dashboard, you'll be able to generate your key. By default, Riot will generate a 'Development Key', which expires in 24h. When your application is ready to be deployed and respects Riot API usage conditions, you can apply for a 'Production Key'. Please note that you should agree with Riot API usage policy

😈 First Blood 😈

Starting using this framework requires you to create an instance of LeagueAPI by writing:

let league = LeagueAPI(APIToken: "*INSERT YOUR KEY HERE*")

Now use this instance everywhere, you shouldn't recreate the LeagueAPI variable.

🧐 And then? 🧐

LeagueAPI is divided in 4 different APIs:

  • Riot API
  • League of Legends API
  • Team Fight Tactics API
  • Legends of Runnetera API

Riot API

Riot API returns information about Riot Games accounts for each player.
It is accessible from league.riotAPI. From there you'll access the methods for:

League of Legends API

League of Legends API contains methods related to League of Legends game.
It is accessible through league.lolAPI. From there you'll get information about:

League of Legends

Clash

Teamfight Tactics

Teamfight Tactics API contains methods related to Teamfight Tactics game.
It is accessible through league.tftAPI. From there you'll find information for:

Legends of Runnetera

Legends of Runnetera API contains methods related to Leagueof Runnetera game.
It is accessible through league.lorAPI. From there you'll get information about:

Full documentation is available here.
Note that only the last release will appear in the documentation. See previous revisions for older LeagueAPI versions.

Make LeagueAPI Grow Up!

If anything you wanted was missing, do not hesitate to open an issue or create a pull request. It could help future developers. If you found LeagueAPI helpful or cool to use don't hesitate to promote it by adding a ⭐️ 😉

Contributors

Antoine Clop (Kelmatou)
Ronan Cendrier (Hanoki)
Ammon Parry (AmmonP)
Sandi Karajic (SKarajic)

Open Source Agenda is not affiliated with "FfFInI LeagueAPI" Project. README Source: FfFInI/LeagueAPI

Open Source Agenda Badge

Open Source Agenda Rating