Download-Statistik übertragen
GET https://dev.yocado.com/api/downloads/{transfer_id}
| Parameter | Details | Beschreibung |
|---|---|---|
| start_date | Erforderlich | Startdatum im Format J-m-t . |
| end_date | Erforderlich | Enddatum im Format J-m-t . |
| type | Wahlweise String | Erlaubte Werte: overview, referrer_host, referrer_path, continent_code, country_code, city_name, os_name, browser_name, device_type, browser_language, utm_source, utm_medium, utm_campaign, hour |
| country_code | Wahlweise String | Verfügbar, wenn: type = city_name |
| utm_source | Wahlweise String | Verfügbar, wenn: type = utm_medium, utm_campaign |
| utm_medium | Wahlweise String | Verfügbar, wenn: type = utm_campaign |
| referrer_host | Wahlweise String | Verfügbar, wenn: type = referrer_path |
curl --request GET \
--url 'https://dev.yocado.com/api/downloads/{transfer_id}?start_date=2020-01-01&end_date=2021-01-01' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://dev.yocado.com/api/downloads/{transfer_id}?start_date=2020-01-01&end_date=2021-01-01' \
--header 'Authorization: Bearer {api_key}' \
{
"data": [
{
"downloads": 20,
"unique_downloads": 5,
"formatted_date": "2021-01"
},
{
"downloads": 35,
"unique_downloads": 10,
"formatted_date": "2021-02"
},
{
"downloads": 50,
"unique_downloads": 25,
"formatted_date": "2021-03"
}
]
}