Gallery
GET https://api.imgur.com/3/gallery/{{section}}/{{sort}}/{{window}}/{{page}}?showViral={{showViral}}&mature={{showMature}}&album_previews={{albumPreviews}}
Key | Required | Value |
---|
section | optional | hot | top | user . Defaults to hot |
sort | optional | viral | top | time | rising (only available with user section). Defaults to viral |
page | optional | integer - the data paging number |
window | optional | Change the date range of the request if the section is top . Accepted values are day | week | month | year | all . Defaults to day |
Request Params
Key | Datatype | Required | Description |
---|
showViral | string | | Optional. true |
mature | string | | Optional. true |
album_previews | string | | Optional. true |
Key | Datatype | Required | Description |
---|
Authorization | string | | |