Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
/ league_of_mains Public archive

Web-app with statistics related to a summoner with his most used champion

Notifications You must be signed in to change notification settings

jaimevp54/league_of_mains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

League of mains

League of Mains

Is a League of Legends's statistics site focused on the summoner's main (most used) champion.

Created as a submission for the Riot's API CHALLENGE 2016.

Table of contents

Features

  • Find out who is your most played champion (main).
  • Champion Mastery data.
  • Statistics for the total data of all ranked games played.
  • Recent videos of youtube related to your main.
  • Comparison between two summoners data.
  • Fully responsive.

Demo

home page

You can test a fully working live demo at http://leagueofmains.pythonanywhere.com, to see the stored data in the database you can go to the admin's page ( http://leagueofmains.pythonanywhere.com/admin ) it already has a test user that you can use. user: leagueofmains password: aniviabestchamp.

Programming language and Frameworks

The site is implemented using Python and the Django framework, Bootstrap for the html and css and the library Cassiopeia was used to communicate with the Riot's API.

Local setup

To test the project locally in your machine, the next commands can be used.

  • Note: Preferably working inside a virtual environment with python 3.5 installed.
git clone https://github.com/jaimevp54/league_of_mains.git

cd league_of_mains

pip install -r requirements.txt

python manage.py runserve

Api usage

League of mains makes several api calls everytime data about a summoner is requested. Specifically one call for each one of the following:

  • The summoner
  • The summoner's mastery data
  • The summoner's champion with the most mastery points.
  • The summoner's match list for that champion.
  • One extra call for each match that has not been yet analized.

This causes that the first time a summoner is searched will take significantly more time that the followings.

For more information about the API calls check it's reference page.

Deployment

The demo is being hosted in www.pythonanywhere.com with a begginer (Free) account. This way the leagueofmains.pythonanywhere.com site will expire in a maximum of three months, this is enough time for submission porpuses.

Developer

Hi! my name is Jaime Viñas from Dominican Republic, student of Telecomunications Engineering, Summoner name: Kyde and as it's made obvious in the Demo section, a Anivia's lover. I'm also planning to apply for a work on Riot Games after I finish my studies so maybe I get to know the people who judge this :D.

Credits

Thanks to those that even on simple ways helped me in the development of this project

Testing and feedback

  • Carlos Lizardo (zShinoda - Lan)
  • Lisaril Morel (Raicedes - Lan)
  • Yorman Rodriguez (Yormaan - Lan)
  • Bernardo Sosa (Shnooflown - Lan)
  • Jean Carlos Taveras (Jyan - Lan)
  • Alfonso Ulloa (El Charlief - Lan )
  • Jordany Filpo (JordMaster - Lan)
  • Indhira Torres (PrincessZelda19 - Lan)

Art

  • inkinesss : Created the amazing art used as background for the home page, also the cute chibi Tresh.

What's next?

For the later development of this project ( After the contest is finished on June 6th ) if possible new features will be added.

For example:

  • More related content sections (Reddit, Fanart, etc...)
  • Ranking section featuring all the summoners who share the same main champion.
  • Log section with all the changes the champion has been through at each patch.
  • Faq page.
  • Fix some known bugs or issues.

Questions and issues

Right now some minor issues exists that are not going to be adressed until the contest has ended.

  • Page returns a error 500 when the summoner's name form is left blanc on the home page.
  • Page returns a error 500 when a summoner that has not played after the champion mastery system was released is searched for.
  • Some buttons dont work on very small screens.

Disclaimer

League of Mains isn’t endorsed by Riot Games and does not reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.