Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.
pritaeas edited this page Jul 16, 2013 · 13 revisions

DaniWeb API wrapper classes

Classes to get information from the DaniWeb API.

DwApiException

Custom exception class, predefining error messages. Read more.

DwApiBase

Base class providing common properties and methods. Read more.

DwApiRss (extends DwApiBase)

Class to get (filtered) RSS feeds. Read more.

DwApiOpen (extends DwApiRss)

Class for open API methods. Read more.

DwApiToken (extends DwApiOpen)

Class for API methods that require an access token. Read more.

DaniWeb API demos

The index page links to the DwApiAuthorize script used to get a token, and to the available demos. Note that the DwApiAuthorize script needs to be changed to get it working. You need to insert your own API credentials.

DwArticleWatch

Login required for this to function. It retrieves the 10 newest articles for the selected (sub-)forum.

It checks every 30 seconds for updates on the articles currently listed. If there is an update, it is highlighted.

DwRssDashboard

No login required for this to function. It shows a div for every available forum, and then gets the five latest RSS entries for that forum using jQuery AJAX calls.

DwWatchedArticles

Login required for this to function. It retrieves your watched articles for the selected (sub-)forum.