xia_broadcast.broadcast.AuthClient

class xia_broadcast.broadcast.AuthClient(api_root: str = 'https://auth.x-i-a.com/api/')

Bases: object

__init__(api_root: str = 'https://auth.x-i-a.com/api/')

Methods

__init__([api_root])

get_api_acl(api_key, app_name[, api_id])

Get Access Control List of API

get_api_acl(api_key: str, app_name: str, api_id: str = '')

Get Access Control List of API

Parameters
  • api_key – API Key

  • api_id – API ID

  • app_name – app_name to check the API Key

Returns

API Detail or Error Message