get.recent

Returns a list of the latest entries associated with a specified set of object types.

About

Supported Formats

  • XML
  • JSON
  • PHP

Supported Objects

  • tags
  • images
  • searches

Attributes

Cacheable   - Yes
Cache TTL   - 5 Mins.
Secure      - No
Metered     - Yes
Limit       - 1,000 Requests
Limit Cycle - 24 Hrs.

Parameters

key     - (string)  The API key associated with your application. [REQUIRED]
objects - (array)   An array containing the hash ids of the desired images. [REQUIRED]
limit   - (integer) The number of recent entries to return per specified object. Default is 25.
page    - (integer) The current page of recent entries to return per specified object. Default is 1.

Example Request

The following GET and POST parameters will return 50 of the latest images and tags associated with the included api key.

key        = API_KEY
objects[0] = images
objects[1] = tags
page       = 2
limit      = 50

Example Responses

The data returned is separated by object type and is presented the same as the following services:

Files

Valid URLs

  • http://rest.snag.gr/images/get.recent.xml
  • http://rest.snag.gr/images/get.recent.json
  • http://rest.snag.gr/images/get.recent.php

Helpful Links

Recent Discussions

No discussions yet!