Open source library for communication with the Rijksmuseum API. This library covers all the Rijksmuseum API calls. Search the collection, get detailed information and image tiles for object. Calendar events, RijksStudio user sets etc.
This Portable Library is compatible with: .Net45, Windows 8 and Windows Phone 8 Download directly from NuGet Q42.RijksmuseumApi on NuGet.
How to use?
Some basic usage examples
Before you can communicate with the Rijksmuseum API, you need to have an API key and use this API key to initialize a new RijksClient. Request your API key here
IRijksClient _client = new RijksClient("YOUR_API_KEY");
Search the collection
var search = new CollectionSearchRequest(); search.SearchQuery = "sinterklaas"; var searchResult = await _client.GetCollection(search);
Get detailed information about an object in the collection.
var objectDetails = await _client.GetCollectionDetails("sk-c-5");
How To install?
Download the source from GitHub or get the compiled assembly from NuGet Q42.RijksmuseumApi on NuGet.
This library is made possible by contributions from:
Open Source Project Credits
- Newtonsoft.Json is used for object serialization
Contributions are welcome. Fork this repository and send a pull request if you have something useful to add.