MetMuseum

Access the Metropolitan Museum of Art’s collection. For explanation on the different attributes for each object, visit https://metmuseum.github.io.

RPCS

MetMuseum.advancedSearch(field: String, query: String, skip: Number?, limit: Number?)

Search the Metropolitan Museum of Art

Arguments:

  • field: String info - field to search in
  • query: String info - text query to look for
  • skip: Number? info - used to paginate the results, number of records to skip from the begining
  • limit: Number? info - limit the number of returned results (maximum of 50)

Returns: List info - results

MetMuseum.fields()

Get a list of available attributes for museum’s objects

Returns: List info - available headers

MetMuseum.getImageUrls(id: Number)

Retrieves the image links for a public domain object Note: use costume loader library to load the images.

Arguments:

  • id: Number info - object id

Returns: List info - List of images

MetMuseum.getInfo(id: Number)

Retrieves extended information about a single object

Arguments:

  • id: Number info - object id

Returns: List info - List of images

MetMuseum.searchByArtistDisplayBio(query)

Arguments:

  • query
MetMuseum.searchByArtistDisplayName(query)

Arguments:

  • query
MetMuseum.searchByClassification(query)

Arguments:

  • query
MetMuseum.searchByCountry(query)

Arguments:

  • query
MetMuseum.searchByCreditLine(query)

Arguments:

  • query
MetMuseum.searchByDepartment(query)

Arguments:

  • query
MetMuseum.searchByDimensions(query)

Arguments:

  • query
MetMuseum.searchByIsHighlight(query)

Arguments:

  • query
MetMuseum.searchByMedium(query)

Arguments:

  • query
MetMuseum.searchByObjectDate(query)

Arguments:

  • query
MetMuseum.searchByObjectName(query)

Arguments:

  • query
MetMuseum.searchByRepository(query)

Arguments:

  • query
MetMuseum.searchByTitle(query)

Arguments:

  • query