2012-10-03, 20:51
Hi everyone,
Well I just love Asian drama, and would love to see it in XBMC. I normally just launch browser, go to a typical drama website, maximize the viewing window and watch from there.
But anyways, I decided to try writing an addon for XBMC for viki.com website (which is awesome for drama site).
Anyways, instead of scrapping the site I find out that the site actually has a decent API that provides listings, subtitles in gzip format, descriptions and direct URLs through JSON / XML queries. (See API at http://dev.viki.com/api/). Anyways, the very first thing that I should start with, according to the http://dev.viki.com/auth/, is get an application registered through OAUTH 2.0 at http://www.viki.com/applications. Unfortunately me being a newbie in development, I am having a difficult time understanding the URI part of the authentication. At the Google apps, the redirect URI is chosen and provided by google, (assuming it is a web app we are dealing with...) What about XBMC? How and what would I use for redirect URI where OAuth is used?
Anyways, could someone please help me understand this matter or at least point me to the direction where I can read and inquire info on what to do.
Thank you very much!
Well I just love Asian drama, and would love to see it in XBMC. I normally just launch browser, go to a typical drama website, maximize the viewing window and watch from there.
But anyways, I decided to try writing an addon for XBMC for viki.com website (which is awesome for drama site).
Anyways, instead of scrapping the site I find out that the site actually has a decent API that provides listings, subtitles in gzip format, descriptions and direct URLs through JSON / XML queries. (See API at http://dev.viki.com/api/). Anyways, the very first thing that I should start with, according to the http://dev.viki.com/auth/, is get an application registered through OAUTH 2.0 at http://www.viki.com/applications. Unfortunately me being a newbie in development, I am having a difficult time understanding the URI part of the authentication. At the Google apps, the redirect URI is chosen and provided by google, (assuming it is a web app we are dealing with...) What about XBMC? How and what would I use for redirect URI where OAuth is used?
Anyways, could someone please help me understand this matter or at least point me to the direction where I can read and inquire info on what to do.
Thank you very much!