C# Class Q42.RijksmuseumApi.RijksClient

Client for interacting with the Rijksmuseum API https://www.rijksmuseum.nl/en/api http://rijksmuseum.github.io/ http://rijksmuseum.github.io/demos/
Inheritance: IRijksClient
Exibir arquivo Open project: Q42/Q42.RijksmuseumApi

Public Methods

Method Description
GetCalendar ( System.DateTime date ) : Task

https://www.rijksmuseum.nl/api/nl/agenda/2013-10-18?key=fakekey&format=json

GetCollection ( CollectionSearchRequest search, string sort = "relevance", int page, int pageSize = 10 ) : Task

https://www.rijksmuseum.nl/api/nl/collection?key=fakekey&format=json

GetCollectionDetails ( string objectNumber ) : Task

https://www.rijksmuseum.nl/api/nl/collection/sk-c-5?key=fakekey&format=json

GetCollectionImages ( string objectNumber ) : Task

https://rijksmuseum.nl/api/nl/collection/SK-C-5/tiles?key=fakekey&format=json

GetContentPage ( string slug ) : Task

https://www.rijksmuseum.nl/api/pages/nl/ontdek-de-collectie/overzicht/rembrandt-harmensz-van-rijn?key=fakekey&format=json

GetEventAvailability ( System.DateTime date, System.Guid expositionId, System.Guid periodId ) : Task

https://www.rijksmuseum.nl/api/nl/agenda/2013-10-18/expostition/0ee170d3-9604-48ac-b15f-014d911bf065/availability/e2b108b3-52b0-4a89-ac64-19514f8c5434?key=fakekey&format=json

GetUserSetDetails ( string id ) : Task

https://www.rijksmuseum.nl/api/nl/usersets/123-setname-3?key=fakekey&format=json

GetUserSets ( int page, int pageSize = 10 ) : Task

https://www.rijksmuseum.nl/api/nl/usersets?key=fakekey&format=json&page=2

RijksClient ( string apiKey, string language = "en" ) : Newtonsoft.Json

Initialize the RijksClient

Method Details

GetCalendar() public method

https://www.rijksmuseum.nl/api/nl/agenda/2013-10-18?key=fakekey&format=json
public GetCalendar ( System.DateTime date ) : Task
date System.DateTime
return Task

GetCollection() public method

https://www.rijksmuseum.nl/api/nl/collection?key=fakekey&format=json
public GetCollection ( CollectionSearchRequest search, string sort = "relevance", int page, int pageSize = 10 ) : Task
search Q42.RijksmuseumApi.Models.CollectionSearchRequest
sort string
page int
pageSize int
return Task

GetCollectionDetails() public method

https://www.rijksmuseum.nl/api/nl/collection/sk-c-5?key=fakekey&format=json
public GetCollectionDetails ( string objectNumber ) : Task
objectNumber string
return Task

GetCollectionImages() public method

https://rijksmuseum.nl/api/nl/collection/SK-C-5/tiles?key=fakekey&format=json
public GetCollectionImages ( string objectNumber ) : Task
objectNumber string
return Task

GetContentPage() public method

https://www.rijksmuseum.nl/api/pages/nl/ontdek-de-collectie/overzicht/rembrandt-harmensz-van-rijn?key=fakekey&format=json
public GetContentPage ( string slug ) : Task
slug string
return Task

GetEventAvailability() public method

https://www.rijksmuseum.nl/api/nl/agenda/2013-10-18/expostition/0ee170d3-9604-48ac-b15f-014d911bf065/availability/e2b108b3-52b0-4a89-ac64-19514f8c5434?key=fakekey&format=json
public GetEventAvailability ( System.DateTime date, System.Guid expositionId, System.Guid periodId ) : Task
date System.DateTime
expositionId System.Guid
periodId System.Guid
return Task

GetUserSetDetails() public method

https://www.rijksmuseum.nl/api/nl/usersets/123-setname-3?key=fakekey&format=json
public GetUserSetDetails ( string id ) : Task
id string
return Task

GetUserSets() public method

https://www.rijksmuseum.nl/api/nl/usersets?key=fakekey&format=json&page=2
public GetUserSets ( int page, int pageSize = 10 ) : Task
page int
pageSize int
return Task

RijksClient() public method

Initialize the RijksClient
public RijksClient ( string apiKey, string language = "en" ) : Newtonsoft.Json
apiKey string
language string
return Newtonsoft.Json