TheyWorkForYou API
getWrans function
http://www.theyworkforyou.com/api/getWrans
Fetch Written Questions/Answers.
Arguments
Note you can only supply one of the following at present.
- date
- Fetch the written answers for this date.
- search
- Fetch the written answers that contain this term.
departmentFetch the written answers by a particular department.- person
- Fetch the written answers by a particular person ID.
- gid
- Fetch the written question/answer that matches this GID.
- order (optional, when using search or person)
- d for date ordering, r for relevance ordering.
- page (optional, when using search or person)
- Page of results to return.
- num (optional, when using search or person)
- Number of results to return.
Example Response
{
"url" : "/wrans/",
"dates" : [
"2006-01-09",
"2006-01-10",
"2006-01-11",
"2006-01-12",
...
"2006-07-19",
"2006-07-20",
"2006-07-24",
"2006-07-25"
]
}
Explorer
Try out this function without writing any code!

