Fetching Bright Statistics

Via the Web Services API, toplevel statistics are available:

  • Number of new courses
  • Top Courses, based on new registrations
  • Top Pages, based on the origination of new registrations
  • A list of active users for the period [based on launches].
  • Number of registrations for the period
  • Number of launches for the history

For the Periods:

  • today
  • this week
  • this month
  • this quarter
  • this year
  • alltime

If for example your

  • realm_guid : MYREALMGUID
  • realm_secret_key : MYREALMSECRETKEY
  • bright URL: MYBRIGHTURL

You can use this URL:

https://MYBRIGHTURL/bright/api/v2/util/stats.json?realm_guid=MYREALMGUID&realm_secret_key=MYREALMSECRETKEY

Easiest way to view this data from the browser is to install a JSON Viewer, for example here is one for chrome:

JSONView for Chrome

stats