This is just a test of the League of Legends Developer API.
1) Clone the repo.
2) Run bundle install
.
1) Setup your config/database.yml
.
2) Run rake db:setup
.
3) Run rails server
.
4) Go to app/assets/javascripts/summoners/search.js
and add your API Key provided by developer.riotgames.com
5) Enter to localhost:3000
and you’ll see a login page.
1) Register/Login to the site.
2) Write the Summoner Name and click the search button, here you’ll see a page with some data about the Summoner like Ranked info.
If you want to add more methods using the League of Legends API you can read about them here: developer.riotgames.com/api/methods