import requests

object_id = 436535  # a real, specific Met object ID
url = f"https://collectionapi.metmuseum.org/public/collection/v1/objects/{object_id}"

response = requests.get(url)
data = response.json()   # the API hands back structured JSON, not raw HTML

print(data["title"])
print(data["artistDisplayName"])
print(data["primaryImage"])       # a direct, usable image URL
print(data["isPublicDomain"])     # the API tells you outright