A JSON API for LinkCat
LinkCat (http://www.linkcat.info/cgi-bin/koha/opac-main.pl) does not seem to have an API so here is one that does it via screen scraping.
API Endpoints
Search
GET /search
Parameters
Name |
Type |
Description |
q |
string |
A query parameter to search by |
Request
curl http://www.example.com
Response
Items
GET /items/:id
Parameters
Name |
Type |
Description |
id |
string |
The ID of the item |
Request
curl http://www.example.com
Response
Setup
- Have a running node.js environment
- Clone this repo
cd
into repo
npm install
node index.js