You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the context of a school project, we try to use the MET API to look for art pieces based on specific criteria
Will it is working pretty well with the examples provided in the readme such as (departmentId=6&q=cat), we keep having issues with the following request :
Hi!
I was wondering if anyone could help answer a question related to identifying deaccessioned objects/works through The Met API?
Thank you in advance!
Thanks
Nabil
Hello,
In the context of a school project, we try to use the MET API to look for art pieces based on specific criteria
Will it is working pretty well with the examples provided in the readme such as (departmentId=6&q=cat), we keep having issues with the following request :
$response = $client->request('GET', 'https://collectionapi.metmuseum.org/public/collection/v1/search', [
'query' => [
'departmentId'=> '6',
'hasImages' => 'true',
],
]);
Or even simpler...
$response = $client->request('GET', 'https://collectionapi.metmuseum.org/public/collection/v1/search', [
'query' => [
'departmentId' => 6
],
]);
Getting the Fatal error: Uncaught Symfony\Component\HttpClient\Exception\TransportException: Server returned nothing (no headers, no data) for "https://collectionapi.metmuseum.org/public/collection/v1/search?departmentId=6&hasImages=true". in /home/olivierjoubert/Tests/connexionAPI/vendor/symfony/http-client/Chunk/ErrorChunk.php on line 65.
Any idea why ?
Any help would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: