Open source library for interaction with the Rijksmuseum API
C# Batchfile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE.txt
README.md

README.md

Q42.RijksmuseumApi

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

RijksClient

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.

Credits

This library is made possible by contributions from:

Open Source Project Credits

  • Newtonsoft.Json is used for object serialization

License

Q42.RijksmuseumApi is licensed under MIT. Refer to license.txt for more information.

Contributions

Contributions are welcome. Fork this repository and send a pull request if you have something useful to add.

Build status

More info about the Rijksmuseum API