Marthon Hero API

This project is an API for the highscore system in Marathon Hero. I didn’t want to use Apple’s Game Center Leaderboards because I wanted to display the Highscores in my own style!

You can have a look in the below screenshot to understand what this project looks like:

MarathonHeroHighscores

Through this API you can:

GET
/leaderboard/top/30 where 30 is the number of rows you want to get.

/user/nickolas/scores where nickolas is the user you would like to get all his/hers scores.

POST
/user/score/new where you can add new score for a specific user.

Tools Used:
Ruby, Sinatra, ActiveRecord, MYSQL

Links:
Marathon Hero API on GitHub