Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

98
Visualizações
Using the Metropolitan Museum API tags parameter

I have no problem using the Metropolitan Museum of Art API, except for the "tags" parameter.

Here is their description of the tags format.

Parameter Format Notes
tags Boolean, true or false. Case sensitive. Returns objects that match the query, specifically searching against the subject keyword tags field for objects.

Here is what is returned when I console log the tag response of an object.

[
    {
        "term": "Lions",
        "AAT_URL": "http://vocab.getty.edu/page/aat/300310388",
        "Wikidata_URL": "https://www.wikidata.org/wiki/Q140"
    },
    {
        "term": "Men",
        "AAT_URL": "http://vocab.getty.edu/page/aat/300025928",
        "Wikidata_URL": "https://www.wikidata.org/wiki/Q8441"
    },
    {
        "term": "Hunting",
        "AAT_URL": "http://vocab.getty.edu/page/aat/300239666",
        "Wikidata_URL": "https://www.wikidata.org/wiki/Q36963"
    },
    {
        "term": "Dogs",
        "AAT_URL": "http://vocab.getty.edu/page/aat/300265714",
        "Wikidata_URL": "https://www.wikidata.org/wiki/Q144"
    }
]

The Met website seems to suggest that you can search objects by tags but I can't find a way to do this within the format. tag=Lions for example returns mostly works with the "Lions" tag, but also a work with only the tags "Ships" and "Calligraphy". So it seems to be a boolean checking whether or not there are tags. I would want it to return ONLY "Lions". I'm honestly baffled by this behavior.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda