Topics Images API

This API provides image URLs for a list of specified topics.

Resource URL

GET https://api.rightrelevance.com/v2/topics/getimages?topics=t1,t2,t3&access_token=

Parameters

topics=t1,t2,t3

(required)

list of topic for which to fetch images

Example Values: archaeology, orthopedics

Example Request

GET https://api.rightrelevance.com/v2/topics/getimages?topics=anthropology,alzheimers&access_token=PLACE_ACCESS_TOKEN

Example Response

{
    alzheimer's disease: {
        image_height: "288",
        image_width: "1000",
        image_url: "http://alzheimerheadlines.com/wp-content/uploads/2011/12/alzheimerheader.png"
    },
    anthropology: {
        image_height: "450",
        image_width: "800",
        image_url: "http://www.kob.com/kobtvimages/repository/2016-08/UNM_professor_found_to_sexually_harass_discriminate_returns_to_classroom-syndImport-113118.jpg"
    }
}

Response Fields

Returns image URLs with height and width for list of topics, which in this example is ‘anthropology’ and ‘alzheimers’.

Write a Reply or Comment

Your email address will not be published. Required fields are marked *