harvardartmuseums / api-docs Goto Github PK
View Code? Open in Web Editor NEWAPI documentation for https://www.harvardartmuseums.org
API documentation for https://www.harvardartmuseums.org
Originally posted by @sarkarchandan in #2 (comment)
The value for primaryimageurl
and the value of images
is different for the same object ID when using the object
endpoint vs. the object/ID
endpoint.
It doesn't break for all objects, but it does for some. Below are two examples.
Both 142914
and 143495
have non-empty images
arrays, and primaryimageurl
is non-null when using object/
.
When using object/142914
, primaryimageurl
is null and images
is empty.
When using object/143495
, primaryimageurl
and images
is as expected (with values).
Is this a bug in the backend?
Would it be permissible to create a Twitter bot that Tweets an image from the images resources(with original link and information) once a day? The image would need to be saved, added to a Tweet (with the link and information) and then be deleted.
I randomly receive responses with null values when other times they have a value.
For example, a query of the first 10 records of objects randomly assigns record 9's primaryimageurl as null even though it usually populates with a url. Very strange. Any ideas?
Hi-
I am wondering what the function might be relating the spectrum and color for any given color in the "colors" data set?
for example: Van Gaugh's Self Portrait contains the color #64c896, and the spectrum #47b853. And, imageid 429982 contains the color #64967d, and the spectrum #47b853 also. What equation accounts for these "nearest fit" spectrum colors? thanks.
https://api.harvardartmuseums.org/object&hasimage=1&gallery=1320
then it's returning a lot data but all data don't have image
"images": [],
"primaryimageurl": null,
that's not what i excepted. How can i handle this problem ?
How to access image URL whose url is not provided directly, but has "imagepermissionlevel":1?
Ex: http://api.harvardartmuseums.org/object/226337?apikey=<your api key>
Originally reported here:
That was my bad I was trying to throw more things onto to get it to work. I think the main issue was that q was being overridden by keyword. When I commented out keyword in my call all the results would have the correct imagepermissionlevel:0. I ended up using title instead of keyword which didn't have the same issue.
Would still get imagepermissionlevel not equal to zero:
https://api.harvardartmuseums.org/object?apikey=[mykey]&hasimage=1&sort=random&person=any&keyword=sun&q=imagepermissionlevel:0
Originally posted by @heatherca in #9 (comment)
I'm looking to query the object
API for objects:
classification=26
hasimage=1
)The last one I'm currently filtering locally, by checking:
people
)role
== "Artist"
Is it possible to do this at the API level with q
?
Create Open API specification document for greater accessibility of the HAM API. I sent a pull request with the Open API YAML file attached. To see my work, copy the YAML file content into the Swagger Editor https://editor.swagger.io/ to see the Open API functionality. You can test the API in the Swagger Editor without needing to write additional code. Please let me know what you think. Thank you!
I have attempted to query coins by the standardreferencenumber field, but the field has no affect on the queries. I have tried RRC* as per Lucene syntax as well as "RRC 20/1"
https://iiif.io/api/search/2.0/
unless I failed to pattern match the end point ๐
I can get an object using a reference number like http://api.harvardartmuseums.org/object?apikey=xxx&objectnumber=BR41.37 but i'm not sure how to pass in multiple terms. The docs say I can pass in 1 or more terms. Can you tell me how I should format that?
Hi, Is it possible to request all images containing certain colors (where the colors are given in hex code)? I tried with https://api.harvardartmuseums.org/color/34838386?apikey=...colors=color:#0000ff|#FF0000&q=imagepermissionlevel:0
but that didn't seem to work. Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.