This is an extremely simple API service for use with the ZX Spectrum Next. If offers ZXDB search and download functionality.
This service is intentionally non-SSL to allow for the ZX Spectrum Next to process the requests.
All requests are
If processing on a Spectrum Next, you will need to pass the HTTP response headers, you can either wait for a
blank line (as per HTTP specification to represent the start of the body) or
curl and count the
headers you need to skip. Current this code is hosted on Heroku so the headers shouldn't change in the foreseeable
future - but this is not a given.
Searches for an entity based on a starts with query. Returns a list of encoded results.
spaces: if the search term includes spaces, to reduce encoding requirements, spaces are represented
* character. So "manic miner" is
18838^Manic Miner^ManicMiner.tzx^1983 18839^Manic Miner^ManicMiner(different).tzx^1983 18840^Manic Miner^ManicMiner.tap^1983 18841^Manic Miner^ManicMiner(MastertronicAddedDimension).tzx^1983 18842^Manic Miner^ManicMiner(SoftwareProjectsLtd).tzx^1983 18843^Manic Miner^ManicMiner(SoftwareProjectsLtd).tap^1983 18844^Manic Miner^ManicMiner(Ventamatic).tzx^1984 18864^Manic Miner 2^ManicMiner2.tzx^1985 18865^Manic Miner 2^ManicMiner2.tap^1985 18868^Manic Miner 3: Tales from a Parallel Universe^ManicMiner3-TalesFromAParallelUniverse.tzx^1996
The fields are separated by the
^ character and rows are terminated by
The fields are:
id is needed to download a file.
Returns a binary stream with
Transfer-Encoding: chunked for the given file
file format will be the type associated with the particular ID.
Open source and built by Remy Sharp