sport.db HTTP JSON API (web service) scripts
You can run any of the HTTP JSON API (web service) scripts using the sportdb
command line tool.
By default the serve
command will look for
a script named Service
or service.rb
(in the working folder, that is, ./
). Example:
$ sportdb serve
To run any other script - copy the script into the working folder and pass it along as an argument. Example:
$ sportdb serve starter # note: will (auto-)add the .rb extension or
$ sportdb serve starter.rb
The sport.db.service
scripts are dedicated to the public domain.
Use it as you please with no restrictions whatsoever.
Send them along to the Open Sports & Friends Forum/Mailing List. Thanks!