Links statistics
                                GET https://nawalaanti.lol/api/statistics/{link_id}
                            
                        | Parameters | Details | Description | 
|---|---|---|
| start_date | Required | Start date in Y-m-dformat. | 
| end_date | Required | End date in Y-m-dformat. | 
| type | Optional | Type of data to be returned. Allowed values are: overview,referrer_host,referrer_path,country_code,city_name,os_name,browser_name,device_type,browser_language,utm_source,utm_medium,utm_campaign. Defaults tooverview. | 
| country_code | Optional | Parameter only available for the city_nametype. | 
| utm_source | Optional | Parameter only available for the utm_mediumandutm_campaigntype. | 
| utm_medium | Optional | Parameter only available for the utm_campaigntype. | 
                                curl --request GET \
--url 'https://nawalaanti.lol/api/statistics/{link_id}?start_date=2020-01-01&end_date=2021-01-01' \
--header 'Authorization: Bearer {api_key}' \
                        --url 'https://nawalaanti.lol/api/statistics/{link_id}?start_date=2020-01-01&end_date=2021-01-01' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": [
        {
            "pageviews": 20,
            "visitors": 5,
            "formatted_date": "2021-01"
        },
        {
            "pageviews": 35,
            "visitors": 10,
            "formatted_date": "2021-02"
        },
        {
            "pageviews": 50,
            "visitors": 25,
            "formatted_date": "2021-03"
        }
    ]
}