Created
August 1, 2017 12:41
-
-
Save matryer/686e27755e057b26ab8eb18042ad6714 to your computer and use it in GitHub Desktop.
Gopherize.me's artwork API response structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type ArtworkResponse struct { | |
Categories []Category `json:"categories"` | |
TotalCombinations int `json:"total_combinations"` | |
} | |
type Category struct { | |
ID string `json:"id"` | |
Name string `json:"name"` | |
Images []Image `json:"images"` | |
} | |
type Image struct { | |
ID string `json:"id"` | |
Name string `json:"name"` | |
Href string `json:"href"` | |
ThumbnailHref string `json:"thumbnail_href"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment