Compo4AllSDK
From Pandora Wiki
Contents
Compo4All API Guide
Overview
All information from the server is transfered by the HTTP protocol, so you can use libraries such as libcurl to handle all that work. Information is passed using the JSON markup language
Launcher Developer
Getting the Games List
Sending a HTTP GET request to /curgamelist_1 will return you a list of games, and details of those games
Getting the Score Board
Requesting /json_1/(gamename) will return you scoreboard details
Game Developer
Spaghetti Client
The Spaghetti Client can be downloaded from the thread, and you can easily submit scores by starting a process with the following command line (assuming sc is bundled in your working directory)
./sc MODE OPERATION GAMENAME PLATFORM SCORE
SC Modes
Mode | Description |
---|---|
so | Sends the Score only |
SC Operations
Operation | Description |
---|---|
push | Sending data to the server |
pull | Get data from the server (not implemented) |