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:
Through this API you can:
/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.
/user/score/new where you can add new score for a specific user.
Ruby, Sinatra, ActiveRecord, MYSQL
Marathon Hero API on GitHub