[mythtv] Myth Services API - Authentication

Bill Meek keemllib at gmail.com
Mon Sep 19 14:36:48 UTC 2016


On 09/19/2016 08:36 AM, Kai T. Hillmann wrote:
...
> I've tried yesterday using json encoding - is that possible too or only
> formular based?

JSON works too. I use this:

     https://www.mythtv.org/wiki/Python_API_Examples#The_module_used_in_the_examples_above

which does:

     session.headers.update({'Accept':'application/json'})
-- 
Bill


More information about the mythtv-dev mailing list