Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get artworks in api? #211

Open
adnjoo opened this issue Sep 16, 2021 · 0 comments
Open

how to get artworks in api? #211

adnjoo opened this issue Sep 16, 2021 · 0 comments

Comments

@adnjoo
Copy link

adnjoo commented Sep 16, 2021

when I do this get request -> with e.g. damien hirst 4d8b926a4eb68a1b2c0000ae or warhol 4d8b92b34eb68a1b2c0003f4,

https://api.artsy.net/api/artworks?artist_id=4d8b926a4eb68a1b2c0000ae

with X-XAPP-Token as my header (already authenticated), I get mostly the following JSON object:

{
    "total_count": null,
    "_links": {
        "self": {
            "href": "https://api.artsy.net/api/artworks?artist_id=4dd1584de0091e000100207c"
        }
    },
    "_embedded": {
        "artworks": []
    }
}

except for the example artist William Michael Harnett with artist id of 4fe8862daa12fb00010017b9.

how can I get the artworks of the artist? maybe my request is incorrect?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant