Mock NS API for testing or other purposes
Requires cherrypy version 3. (Has been tested with 3.2.2).
make
- obtain uncompressed full regions.xml and nations.xml and put them in data/ (optionally name them something else and symlink appropriately).
./mock_server.py
ormake
The mock server will be available at http://localhost:6260/cgi-bin/api.cgi
Either make ratelimited
or ./mock_server.py --ratelimit