Python with json-rpc integration


Hi guys,

I have two python files:

 import json

 headers = {

 'Content-Type': 'application/json',


   data =  '{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params": 

      response ='', headers=headers, data=data, auth= 
       ('user', '1234'))

     import json

   json_string = 'what is the function here to take value parameter from json?'

   parsed_data = json.loads(json_string)

   x = parsed_data["value"]

  if x == "1199":




What is my function I have to put it in to get the value data from

Thanks for all