Covers API — Current Image


This method will return a the current cover image for a given brand. You can optionally supply a type of cover and a width which you'd like the image resized to.

The "current" image is defined as the cover which is current for the time the request was made, even if a later cover exists within the API. You may also wish to look at the latest issue endpoint

Important

This api call will return JPEG data. You will likely want to use this endpoint as part of an HTML image tag's src attribute

Definition(s)

GET http://covers.condenast.co.uk/api/v1/<brand>/current/image/

GET http://covers.condenast.co.uk/api/v1/<brand>/current/image/<width>/

GET http://covers.condenast.co.uk/api/v1/<brand>/current/image/<type>/<width>/

Replacement Description Required
brand a valid brand code. Yes
type a valid cover type No. Defaults to "print"
width a width in pixels No. Defaults to 2000

Example Usage


Current Tatler Print cover image, resized to 300 pixels wide

<img src="http://covers.condenast.co.uk/api/v1/ta/current/image/300/">

Would produce...

Current GQ Mobile cover image, resized to 400 pixels wide

<img src="http://covers.condenast.co.uk/api/v1/gq/current/image/mobile/400/">

Would produce...