Properties

Last built 2 years ago using go version go1.4.2 linux/amd64 and 124 seconds of time

Downloads
Filename
File Size
 
scpool_master_darwin-386.zip
1.6MiB
scpool_master_darwin-amd64.zip
1.7MiB
scpool_master_linux-386.zip
1.6MiB
scpool_master_linux-amd64.zip
1.7MiB
scpool_master_linux-arm.zip
1.6MiB
scpool_master_windows-386.zip
1.6MiB
scpool_master_windows-amd64.zip
1.7MiB
Project-Readme for this version

scpool: soundcloud client_id key pool server.

includes a (useful) js script for initializing your pool with some keys.

register a key

curl -X POST localhost:8000/new \
    -d '{ "key" : "your-key" }' \
    -H "Content-Type: application/json"

get a key

curl localhost:8000/get

set key reset time

curl -X POST localhost:8000/set \
    -d '{ "key" : "your-key", "time" : "2033/03/01 15:33:22 0000" }' \
    -H "Content-Type: application/json"

list all keys

curl localhost:8000/keys

license: MIT (LICENSE)