API Endpoint: List Categories

Gets a list of all categories and their subcategories. Areas are a nested category structure. Areas may themselves be in other areas, and a single device may be in more than one area. Returns the entire area hierarchy in one call.

Request

GET /api/1.0/categories

GET Parameters

jsonp Optional. String. The name of a Javascript function to call with the results. See JSONP.

Example Request

/api/1.0/categories

Example Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
   "Camera": {
      "Canon Camera": {
         "CATEGORIES": [
            "Canon EOS 7D", 
            "Canon EOS Digital Rebel (300D)", 
            "Canon PowerShot 1200", 
            "Canon PowerShot A470"
         ]
      }, 
      "CATEGORIES": [
         "Fujifilm FinePix A340", 
         "Samsung L100", 
         "Sony Cyber-shot DSC W150"
      ]
   }, 
   "Game Console": {
      "Microsoft Game Console": {
         "Microsoft Game Console Accessory": {
            "CATEGORIES": [
               "Xbox 360 Wireless Controller", 
               "Microsoft Kinect"
            ]
         }, 
         "Microsoft TV Console": {
            "CATEGORIES": [
               "Xbox", 
               "Xbox 360", 
               "Xbox 360 S"
            ]
         }
      }, 
      "Nintendo Game Console": {
         "Nintendo Handheld Console": {
            "CATEGORIES": [
               "Nintendo DS Lite", 
               "Nintendo DS"
            ]
         }, 
         "Nintendo TV Console": {
            "CATEGORIES": [
               "Nintendo 64", 
               "Nintendo Entertainment System"
            ]
         }
      },
      ...
   }
}