Here is an api built off the metropolitan museum's collections website
A testing version is available on collections-api.herokuapp.com
Questions, bug reports and feature requests are appreciated, please submit them to github issues
This repository and its contents are CC0
Dedicated to the memory of Aaron Swartz
The API requires node.js, recommends redis, and supports dtrace.
To run locally, install node.js, then just npm install && sudo npm start. Make sure all the tests pass with npm test. Ignore the Redis errors for now, but it is highly recommended to install later, as redis will speed up the server considerably AND reduce the load on the metropolitan musuem's website. Let's play nice when scraping.
Visit localhost to browse the api, pretty UI courtesy of swagger.
The restify framework has first-class support for DTrace, so enjoy the performance analysation tools.
- Set
COLLECTIONS_API_NO_CACHEto ignore caching
A Procfile is included if you want to spin up an instance up on heroku. Use RedisToGo for caching.