Распределение числа устройств по производителям

Возвращает распределение числа устройств по производителям.

obj_id - уникальный идентификатор объекта на сервере Shopster,

vendor - наименование производителя Wi-Fi адаптера устройства,

count_client - количество посетителей с Wi-Fi адаптером данного производителя

URL

/reports/vendor

Method

GET

GET Params

from=[date]

to=[date]

objects=[[]int]

Headers

x-token=[string]

Response

{ "1290": [ { "obj_id": 1290, "vendor": "apple", "count_client": 1032 }, { "obj_id": 1290, "vendor": "samsung", "count_client": 866 }, { "obj_id": 1290, "vendor": "sony", "count_client": 275 }, { "obj_id": 1290, "vendor": "microsoft", "count_client": 226 }, { "obj_id": 1290, "vendor": "htc", "count_client": 222 }, { "obj_id": 1290, "vendor": "shenzhen", "count_client": 219 }, { "obj_id": 1290, "vendor": "lenovo", "count_client": 211 }, { "obj_id": 1290, "vendor": "lg", "count_client": 139 }, { "obj_id": 1290, "vendor": "murata", "count_client": 122 }, { "obj_id": 1290, "vendor": "nokia", "count_client": 122 }, { "obj_id": 1290, "vendor": "tct", "count_client": 104 }, { "obj_id": 1290, "vendor": "asustek", "count_client": 91 }, { "obj_id": 1290, "vendor": "huawei", "count_client": 86 }, { "obj_id": 1290, "vendor": "inpro", "count_client": 47 }, { "obj_id": 1290, "vendor": "zte", "count_client": 46 }, { "obj_id": 1290, "vendor": "shanghai", "count_client": 43 }, { "obj_id": 1290, "vendor": "longcheer", "count_client": 35 }, { "obj_id": 1290, "vendor": "dewav", "count_client": 19 }, { "obj_id": 1290, "vendor": "xiaomi", "count_client": 18 }, { "obj_id": 1290, "vendor": "gionee", "count_client": 17 }, { "obj_id": 1290, "vendor": "MA-M", "count_client": 16 }, { "obj_id": 1290, "vendor": "wistron", "count_client": 11 }, { "obj_id": 1290, "vendor": "meizu", "count_client": 11 }, { "obj_id": 1290, "vendor": "ragentek", "count_client": 10 }, { "obj_id": 1290, "vendor": "bridge", "count_client": 10 }, { "obj_id": 1290, "vendor": "ck", "count_client": 9 }, { "obj_id": 1290, "vendor": "wisol", "count_client": 8 }, { "obj_id": 1290, "vendor": "mediatek", "count_client": 7 }, { "obj_id": 1290, "vendor": "motorola", "count_client": 6 }, { "obj_id": 1290, "vendor": "watlow", "count_client": 6 }, { "obj_id": 1290, "vendor": "clipcomm", "count_client": 6 }, { "obj_id": 1290, "vendor": "oneplus", "count_client": 6 }, { "obj_id": 1290, "vendor": "amoi", "count_client": 6 }, { "obj_id": 1290, "vendor": "beijing", "count_client": 6 }, { "obj_id": 1290, "vendor": "acsip", "count_client": 4 }, { "obj_id": 1290, "vendor": "covia", "count_client": 4 }, { "obj_id": 1290, "vendor": "hongkong", "count_client": 4 }, { "obj_id": 1290, "vendor": "tecmobile", "count_client": 4 }, { "obj_id": 1290, "vendor": "wingtech", "count_client": 4 }, { "obj_id": 1290, "vendor": "cg", "count_client": 4 }, { "obj_id": 1290, "vendor": "yota", "count_client": 3 }, { "obj_id": 1290, "vendor": "waterworld", "count_client": 3 }, { "obj_id": 1290, "vendor": "koei", "count_client": 3 }, { "obj_id": 1290, "vendor": "compal", "count_client": 3 }, { "obj_id": 1290, "vendor": "hongyu", "count_client": 3 }, { "obj_id": 1290, "vendor": "azurewave", "count_client": 2 }, { "obj_id": 1290, "vendor": "le", "count_client": 2 }, { "obj_id": 1290, "vendor": "vertu", "count_client": 2 }, { "obj_id": 1290, "vendor": "china", "count_client": 2 }, { "obj_id": 1290, "vendor": "liteon", "count_client": 2 }, { "obj_id": 1290, "vendor": "yuhua", "count_client": 2 }, { "obj_id": 1290, "vendor": "dongwon", "count_client": 2 }, { "obj_id": 1290, "vendor": "research", "count_client": 2 }, { "obj_id": 1290, "vendor": "airgo", "count_client": 2 }, { "obj_id": 1290, "vendor": "yiguang", "count_client": 2 }, { "obj_id": 1290, "vendor": "6278", "count_client": 1 }, { "obj_id": 1290, "vendor": "portech", "count_client": 1 }, { "obj_id": 1290, "vendor": "guangdong", "count_client": 1 }, { "obj_id": 1290, "vendor": "skardin", "count_client": 1 }, { "obj_id": 1290, "vendor": "atex", "count_client": 1 }, { "obj_id": 1290, "vendor": "actiontec", "count_client": 1 }, { "obj_id": 1290, "vendor": "realtek", "count_client": 1 }, { "obj_id": 1290, "vendor": "haier", "count_client": 1 }, { "obj_id": 1290, "vendor": "techfaith", "count_client": 1 }, { "obj_id": 1290, "vendor": "ieee", "count_client": 1 }, { "obj_id": 1290, "vendor": "arris", "count_client": 1 }, { "obj_id": 1290, "vendor": "hon", "count_client": 1 }, { "obj_id": 1290, "vendor": "reacheng", "count_client": 1 }, { "obj_id": 1290, "vendor": "lightner", "count_client": 1 }, { "obj_id": 1290, "vendor": "rebound", "count_client": 1 }, { "obj_id": 1290, "vendor": "nudian", "count_client": 1 }, { "obj_id": 1290, "vendor": "huwell", "count_client": 1 }, { "obj_id": 1290, "vendor": "netchip", "count_client": 1 }, { "obj_id": 1290, "vendor": "sim", "count_client": 1 }, { "obj_id": 1290, "vendor": "cimsys", "count_client": 1 }, { "obj_id": 1290, "vendor": "letv", "count_client": 1 }, { "obj_id": 1290, "vendor": "concord", "count_client": 1 }, { "obj_id": 1290, "vendor": "sharp", "count_client": 1 }, { "obj_id": 1290, "vendor": "syntech", "count_client": 1 }, { "obj_id": 1290, "vendor": "broadcom", "count_client": 1 }, { "obj_id": 1290, "vendor": "cisco", "count_client": 1 } ] }

Request

curl 'https://api-public.getshopster.com/reports/duration?objects=1290&from=2016-02-01&to=2016-02-14' -H 'x-token: xxxx'