The proposal for my project was a website that would show a League of Legends player his current match and the mastery levels that each of the players in the game had achieved on their current champions. This project hit a dead end when I found out that the CORS policy on that particular API did not allow me to access the data. However, seeing as how my initial goal was to work with an API and use Bootstrap, I decided to carry on with a modified version of the initial project.
The website that I have now still accesses Riot's API, and in doing this project, I have learned how to use Javascript and jQuery to work with APIs. In addition to that, since I used Bootstrap for this project, I was able to understand how it works better and to apply my own changes to the existing styles. Although I did not accomplish my initial goal, I feel good about the project.
Here are some screenshots for the site.
And some screenshots of code:
An issue that I ran into was with the way the API works, and how data is ordered for each individual player.
Some things to improve for the future would be to add more data from other queue types,
figure out a way to access the champMastery API, and figure out how to make it work for multiple people.
Here is the link to the site:
http://sites.bxmc.poly.edu/~nazkarnasevych/final/index.html
No comments :
Post a Comment