Harkive API Documentation

Usage

The API is available at http://developer.harkive.com/api - (Go).

This returns all of the posts collected by Harkive in JSON format.

You can use the following query parameters:

q

A simple search variable that queries the ‘story’ field.

Example:

http://developer.harkive.com/api?q=Listening - (Go).

year

Queries and filters by year. Default is current year. Earliest available year is 2013.

Example:

http://developer.harkive.com/api?year=2016 - (Go).

source

Queries and filters by ‘source’ field.

Example:

http://developer.harkive.com/api?source=tumblr - (Go).

screenname

Shows posts filtered by the user’s screen name.

Example:

http://developer.harkive.com/api?screenname=craigfots - (Go).

userlocation

Shows posts filtered by the user’s public location

Example:

http://developer.harkive.com/api?userlocation=Birmingham - (Go).

tags

Shows posts that contain the parameter in the tags field.

Example:

http://developer.harkive.com/api?tags=nowplaying - (Go).

time

A simple AM/PM filter

Example:

http://developer.harkive.com/api?time=AM - (Go).

Multiple parameters

All of these filters can be chained, so to search for all posts about 'Listening' posted on Tumblr in the AM the query would be:

http://developer.harkive.com/api?q=Listening&source=tumblr&time=AM - (Go).


Made by Nick Moreton