Giter Club home page Giter Club logo

api-docs's People

Contributors

jeffsteward avatar mariekonopacki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api-docs's Issues

object and object/id return different values sometimes

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?

Twitter bot

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.

Randomly receiving 'null' values

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?

Relation between the color and the spectrum

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.

Keyword parameter overwrites q parameter

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

This worked:
https://api.harvardartmuseums.org/object?apikey=[mykey]&hasimage=1&sort=random&person=any&title=sun&q=imagepermissionlevel:0

Originally posted by @heatherca in #9 (comment)

Request list of images with an associated artist

I'm looking to query the object API for objects:

  • that are paintings (classification=26
  • has an image (hasimage=1)
  • has an associated artist

The last one I'm currently filtering locally, by checking:

  • if there is an array of persons (people)
  • with at least one item where the person role == "Artist"

Is it possible to do this at the API level with q?

Open API Specification

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!

standardreferencenumber ignored in query

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"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.