I run a site called http://www.serviidb.com I currently have 541 video and 16 audio sources world wide. I currently have a RESTful API that returns the repository in the following manner.
The API can be filtered by the various variables returned by the API.
I would like to set up a response for XBMC to be able to use the data in the database.
What would be the proper response format for XBMC? JSON? XML?
Code:
{
"name": "10 O'Clock Live",
"region": "UK",
"url": "http:\/\/www.channel4.com\/programmes\/10-oclock-live\/4od",
"mediaType": "Video",
"resourceType": "Web Resource",
"plugin": "4OD (UK only)",
"language": "English",
"nid": "190",
"resolution": "SD",
"quality": null,
"reliability": null,
"installCount": "60"
},
{
"name": "1600 Penn",
"region": "US",
"url": "http:\/\/www.hulu.com\/feed\/show\/12744\/episodes",
"mediaType": "Video",
"resourceType": "RSS Atom Feed",
"plugin": "Hulu (US only)",
"language": "English",
"nid": "655",
"resolution": "SD",
"quality": null,
"reliability": null,
"installCount": "15"
}
The API can be filtered by the various variables returned by the API.
I would like to set up a response for XBMC to be able to use the data in the database.
What would be the proper response format for XBMC? JSON? XML?