MagicMirror module for Rijks Museum. This was developed using the Rijksmuseum API. Developed by eouia, since may 2020 maintained by 73cirdan.
Navigate into your MagicMirror's modules folder and execute
git clone https://github.com/73cirdan/MMM-Rijks.git
After that go into the MMM-Rijks folder and excute
npm install
- Sign in to Rijks Museum. (https://www.rijksmuseum.nl/)
- After login, go to your profile settings (https://www.rijksmuseum.nl/en/rijksstudio/my/profile)
- find and click
Advanced settingson end of page. - Enable Rijksmuseum API key. you can get
apiKeyimmediately. It looks likeTj2AtQf6 - Now, you should make your collection set to be displayed on your magicmirror.
- You can create and name your set. And you can add pictures by clicking
Red Heartsymbol on any other pictures. - After creating set, go to your set page. (By clicking your profile icon on upper-right corner of any pages)
- Dive into your set page. URL looks like "https://www.rijksmuseum.nl/en/rijksstudio/2233403--your-name/collections/my-first-gallery".
- on above URL,
2233403will be youruserId,my-first-gallerywill be yoursetId. - Let's configure.
{
module: "MMM-Rijks",
position: "fullscreen_below", //fullscreen_below is the best position.
config: {
descriptionLanguage: "en", //"en" or "nl"
useDescription: true,
account: {
userId: "2233403",
apiKey: "Tj2AtQf6",
setId: "my-first-gallery",
},
refreshInterval: 1000*60,
}
},
