Sample API Call
Returns a celebrity image at the following path celebs/v2/AllPhotos/100/100_v8_ba.jpg with a height parameter of 200 pixels.
Endpoint
Code
Request Parameters
| Parameter | Description | Mandatory? |
|---|---|---|
| hostServer | string for Sample Plan users - developer.tmsimg.com; for production customers, custom sub-domain | Yes |
| location | string Directory structure and filename as specified in On products | Yes |
| w | string Width, in pixels; image will be resized to this width | No |
| h | string Height, in pixels; image will be resized to this height; ignored if width also specified | No |
| api_key | string 24 character alphanumeric code you received when you registered your application | Yes |
Sample Request
Code
Response
Code

Last modified on