Tag: code

Kingdom Hall Specific Branch for PTZ Camera Control

Kingdom Hall Specific Branch for PTZ Camera Control

Updated!

It was requested that, in addition to the generic version of the Camera Control app, I also provide the Kingdom Hall specific variant of the app. So, here it is: https://github.com/counteragent/KH-Camera-Control/releases. You can download the source or download the app/installer for MacOS or Windows respectively.

The main difference in the two branches of the app are the presets. In the normal version the presets are all just numbered buttons. The Kingdom Hall specific one uses various icons I created to show the general use cases for a meeting at a Kingdom Hall of Jehovah’s Witnesses.

You can still find the standard version of the app on it’s Github page: https://github.com/counteragent/Camera-Control

KH Camera Control on Github: https://github.com/counteragent/KH-Camera-Control

Camera Control on Github: https://github.com/counteragent/Camera-Control

Open REST API for Trivia Questions

Open REST API for Trivia Questions

Just finished the first draft of a new open API I’ve been working on for access to trivia questions. If you want to signup for an account (all free and open, remember) you can then make calls to retrieve questions, tags, and categories. You can also post your own questions if you’ve got ’em.

Here’s a sample call to retrieve 20 Jeopardy style questions at an offset (basically pages) of 2:

GET http://trivia.propernerd.com/api/questions?limit=2&offset=2&style=jeopardy

Here’s the response (all responses are JSON):

[ { "id":"106", "user_key":"1", "style":"standard", "difficulty":"0", "category":"Firefly", "question":"From what facility did the ship's doctor Simon rescue his sister River from?", "answer":"Mental", "tags":"sci-fi,pop-culture,western,firefly,serenity,tv,movies", "meta":"", "image":null, "reference":null, "datecreated":"2015-07-21 23:31:43", "datemodified":"2015-07-27 16:39:07" }, { "id":"107", "user_key":"1", "style":"standard", "difficulty":"0", "category":"Firefly", "question":"Simon and River's father had this occupation.", "answer":"Doctor", "tags":"sci-fi,pop-culture,western,firefly,serenity,tv,movies", "meta":"", "image":null, "reference":null, "datecreated":"2015-07-21 23:31:43", "datemodified":"2015-07-27 16:39:07" } ]

For more details on how to use the API check out the homepage: http://trivia.propernerd.com