Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

API Category Methods

Chris Carlevato edited this page Mar 27, 2017 · 1 revision

Methods

  • categories_h - Categories by calendar hierarchy (parent/child pairings).
  • categories_a - Categories alphabetically.
  • categories_e - Categories by event count (highest first).

Request Parameters

  • u - Username to authenticate request.
  • k - API Key to authenticate request.
  • data - Method being requested.

Sample Request

http://demo.helioscalendar.com/api/?u=YOUR_USERNAME&k=YOUR_KEY&data=METHOD

##Sample Response

{
"api": {
  "version": "1.0",
  "cal_url": "http://demo.helioscalendar.com",
  "encoding": "ISO-8859-1",
  "generated": "2012-12-16T11:10:31-08:00",
  "contents": "categories_hierarchical"
},
"0": {
  "id": "8",
  "name": "Art",
  "parent_id": "0",
  "event_count": "5",
  "rank": 0
},
"1": {
  "id": "9",
  "name": "Exhibits",
  "parent_id": "8",
  "event_count": "9",
  "rank": 1
},
"2": {...}
"N": {...}
}
Clone this wiki locally