Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rijksmuseum-typescript-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rijksmuseum-typescript-api

Rijksmuseum API Wrapper made with Typescript and RxJS

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

rijksmuseum-typescript-api

Rijksmuseum API Wrapper made with Typescript and RxJS

Quality Gate Status Security Rating

Install

npm i rijksmuseum-typescript-api

Usage

let api: RijksmuseumClient = new RijksmuseumClient('<API_KEY>');

// Get a artwork by it's ID:

api.artwork.getById('SK-C-1454').subscribe(artwork => {  
    console.log(`"${artwork.title}" was created by ${artwork.principalMaker}`);
});

// Search for artworks by criteria:
const criteria = new SearchCriteria();
criteria.page = 1;
criteria.page_result_count = 25;
criteria.type = "painting";

api.artwork.search().subscribe(searchResults => {  
    console.log(`A total of ${searchResults.total_results} artworks has been found`);
});

Keywords

FAQs

Package last updated on 31 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc