correct

 avatar
unknown
python
3 years ago
808 B
6
Indexable
url_logs='https://api.appmetrica.yandex.ru/logs/v1/export/events.json'


params_logs={
    'application_id':appID, 
    'date_since': '2022-01-11 01:00:00', 
    'date_until': '2022-01-11 01:59:59', 
    'fields':'event_datetime,event_json,event_name,event_receive_datetime,event_receive_timestamp,event_timestamp,session_id,installation_id,appmetrica_device_id,city,connection_type,country_iso_code,device_ipv6,device_locale,device_manufacturer,device_model,device_type,google_aid,ios_ifa,ios_ifv,mcc,mnc,operator_name,original_device_model,os_name,os_version,profile_id,windows_aid,app_build_number,app_package_name,app_version_name,application_id',  
}

headers_logs={'Authorization': 'OAuth AQAAAABWmXnOAASt5DmaFtwnuU1prlKEFS5Frlc'}


log=requests.get(url_logs, params=params_logs, headers=headers_logs) 
Editor is loading...