browse

http://api.lib.sfu.ca/newbooks/browse
Browse new books, optionally by location or category.
category
Optional category string to limit to.
location
Optional location string to limit to.
rows
Optional number of rows to return.
page
Optional starting page for rows to return.
sort
Optional flag to randomize results. This cannot be used with page/rows.

JSON results:

{
    page: 1,
    total_results: 3,
    last_page: 1,
    first_page: 1,
    results_per_page: 50,
    results => [
        {
            "category": "chem",
            "department": "Chemistry",
            "location": "Bennett",
            "title": "Dog",
            "isbn": "9781900072793",
            "catalogue_url": "http://troy.lib.sfu.ca/record=3421322",
        },
        {
            "category": "cmns",
            "department": "Communications",
            "location": "Bennett",
            "title": "Dogs: their fossil relatives and evolutionary history",
            "isbn": "9780231135283"
        },
        {
            "category": "math",
            "department": "Math",
            "location": "Belzberg",
            "title": "Dogs: a startling new understanding of canine origin, behavior, and evolution",
            "isbn": "9780684855301"
        }
    ]

}

departments

http://api.lib.sfu.ca/newbooks/departments
Get a list of used department categories and their human readable mapping.
none
[ ["ensc","Engineering Science"], ["educ","Education"], ... ]

locations

http://api.lib.sfu.ca/newbooks/locations
Get a list of used locations and their human readable mapping.
none
[ ["ben","Bennett Library"], ["sur","Fraser Library"], ... ]