PACA (short for Picture Archive Council of America) have a PacaSearch API, which is an aggregating search engine for PACA members.

Your website already supports the PACA API calls and it does not require additional software or licences. PACA api calls will be accepted only if the request is executed from an IP in the PACA IP range (this is taken care of automatically). If you want to appear on their website, then contact them and send them a link to this article. Click here to learn more about PACA.

Retrieving file count information

The Paca system checks once daily for the number of files in your database. The following two calls are available for this purpose:
Returns the number of stills in your database
Returns the number of videos in your database

Note that must of course be replaced with your website name.

The response for the above calls will look something like this:

The datetime attribute uses the yyyymmdd hh:mm am/pm format.

Retrieving keyword count and search information

The following call is used to retrieve the results count and search URL for one or more keywords:

The above call will return the results count and your website’s search URL.

When searching for more than one keyword, use a + sign to seprate the keywords.

By default, an AND search is executed. It is possible to use Boolean queries too. For example:

The response will look something like this:

2017-02-20T09:40:20+01:00 February 17th, 2017|Categories: API, Back office functions, Configuration, Tutorials|Tags: , , , |