The quiz question database anyone can edit.
daily quiz (rss)
Quizbang Web Services
QuizBang's Web Services (QWS) allow direct access to QuizBang's database from virtually any other internet-connected device. In time, you will be able to use our web services to retrieve questions and answers, retrieve tags, check answers, and more... but for now, you can either retrieve questions and answers, a list of active tags. There's no need to register first, QuizBang's database is open for any use.
All QWS services are accessed from the URL http://www.quizbang.co.uk/cgi-bin/fetch.pl, but don't try that on its own - you need to add extra information in the form of parameters on the URL. The most important parameter is 'command' which tells QWS which particular web service you want to access. Depending on the command you specify, you'll probably want to specify extra parameters too.
An important parameter is 'format' which specifies how you'd like the data returned to you. This defaults to XML but can also be set to JSON; other formats may become available in the future, so let us know if you have a preference.
To retrieve ten questions (and their answers) at random from the QuizBang database, use the command 'questions' and the additional parameter 'num' set to '10':
You can click that link to retrieve a random set of ten questions right now!
In general, you won't retrieve that URL yourself in a browser, you'll use it in some other software to retrieve the questions and use them for your own purposes. Describing how to do that in all the myriad possible ways is beyond the scope of this article, but if you're reading this you probably already know what your next steps should be.
For more information, you could start with this Wikipedia article on web services.
For now, QWS only supports three commands, but many more will be added soon so please check back.