Simple ranking system.
Ruby CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
spec
test
vendor
.gitignore
Gemfile
Gemfile.lock
README.md
README.rdoc
Rakefile
config.ru
logo.png
screen_shot.png

README.md

Ranprince

Description

This project is a simple ranking system.

Features

Web

  • View list of applications.
  • View list of devices.
  • View rankings for each application.
  • Registration of the application.
  • Registration of the device.

API

  • View rankings for each application.
  • Registration of the player.
  • Registration of the score.

Screen shot

Ranprince

API Reference

Ranking

  • URL: /api/ranking

  • Method: GET

  • EX.) /api/ranking?app_key=1&device=ios&time_type=daily&order=desc

    Request

    Parameters

    app_key (Require) : This is a application key.

    device : This is a search conditions of the device.

    • ios
    • android
    • other
    • {Blank} (Default)

    time_type : This is a search conditions of the time span.

    • daily
    • weekly
    • mothley
    • {Blank} (Default)

    order : This is the order of the ranking.

    • asc (Default)
    • desc

Player

  • URL: /api/player/create

  • Method: POST

    Request

    Parameters

    name (Require) : This is a player name.

    uid (Require) : This is a device unique id.

ScoreReport

  • URL: /api/score_reports/create

  • Method: POST

    Request

    Parameters

    app_key (Require) : This is a application key.

    score (Require) : This is a game score.

    device (Require) : This is a device key.

    • ios
    • android
    • other

    uid (Require) : This is a device unique id.

License

This project is released under the Apache License v2.0.
Copyright (c) 2013 KICKHOST