YadirectAPI examples: my_json = "hostname.ru/ads/json" api = YadirectAPI('YOUR_LOGIN','YOUR_TOKEN') api.add(my_json)