all-about-apikey/harvard-art-museums
Muhammad Daffa 7372a52709 Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00
..
README.md Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00

README.md

Harvard Art Museums

Description

Harvard Art

Example Request

  • Curl
https://api.harvardartmuseums.org/color/34838442?apikey=YOURAPIKEY
  • Raw
GET /color/34838442?apikey=YOURAPIKEY HTTP/1.1
Host: api.harvardartmuseums.org

Response

  • Success
{
    "colorid":34838442,
    "name":"darksalmon",
    "hex":"#e9967a",
    "id":34838442,
    "lastupdate":"2021-11-10T04:16:54-0500"
}
  • Error
Unauthorized

Regex

[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

Example API key

c8267d84-db73-5b90-b8c4-e17b456857b8