Запрос актуальных моделей(в продаже) по ID категории.

Тип запроса

POST

URL ресурса

https://ymscanner.site/api/category_insale

Спишется запросов

0 (при условии положительного баланса)

Входные параметры

Параметр Тип Описание

key

varchar(32)

Ключ доступа к ресурсу. В личном кабинете.

id

int32

ID категории в базе данных.

updated

date(YYYY-MM-DD)

Необязательный параметр, можно не указывать. Дата обновления цены строго больше этого значения

Выходные данные

Параметр Тип Описание

[]

array

Массив моделей (default null)

[N].id

int32

ID модели

[N].name

varchar

Название модели

[N].price

int32

Цена

[N].updated

datetime (YYYY-MM-DD hh:mm:ss)

Дата обновления цены

[N].category_id

int

Номер категории

[N].brand_id

int

Номер брэнда

[N].specs_quantity

int

Количество характеристик

[N].comments_quantity

int

Количество комментариев

[N].photos_quantity

int

Количество фото

[N].rating

varchar

Рейтинг

[N].modof

int

ID основной модели (для моделей модификаций)

JSON

[
  {
    "id": "460216475",
    "name": "3D-принтер Wanhao Duplicator i3 Plus Mark II",
    "price": "30490",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "28",
    "comments_quantity": "0",
    "photos_quantity": "6",
    "rating": "4.7",
    "modof": null
  },
  {
    "id": "460219486",
    "name": "3D-принтер Wanhao Duplicator 6 Plus",
    "price": "50000",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "25",
    "comments_quantity": "3",
    "photos_quantity": "1",
    "rating": "3.0",
    "modof": null
  },
  {
    "id": "460985536",
    "name": "3D-принтер Wanhao Duplicator i3 Mini",
    "price": "14590",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "29",
    "comments_quantity": "4",
    "photos_quantity": "7",
    "rating": "4.0",
    "modof": null
  },
  {
    "id": "460987112",
    "name": "3D-принтер Wanhao Duplicator 9/300 Mark II",
    "price": "41000",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "27",
    "comments_quantity": "0",
    "photos_quantity": "5",
    "rating": "0",
    "modof": null
  },
  {
    "id": "460996024",
    "name": "3D-принтер Wanhao Duplicator 8",
    "price": "80000",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "17",
    "comments_quantity": "0",
    "photos_quantity": "5",
    "rating": "0",
    "modof": null
  },
  {
    "id": "460996109",
    "name": "3D-принтер Wanhao Duplicator 9/500 Mark II",
    "price": "68000",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "27",
    "comments_quantity": "1",
    "photos_quantity": "5",
    "rating": "0",
    "modof": null
  },
  {
    "id": "460996110",
    "name": "3D-принтер Wanhao Duplicator 9/400 Mark II",
    "price": "49138",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "27",
    "comments_quantity": "1",
    "photos_quantity": "5",
    "rating": "2.7",
    "modof": null
  },
  {
    "id": "460996183",
    "name": "3D-принтер Wanhao Duplicator 7 Plus",
    "price": "38900",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "28",
    "comments_quantity": "0",
    "photos_quantity": "12",
    "rating": "0",
    "modof": null
  },
  {
    "id": "460996516",
    "name": "3D-принтер Wanhao Duplicator 10",
    "price": "18010",
    "updated": "2021-03-01 18:23:08",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "21",
    "comments_quantity": "1",
    "photos_quantity": "6",
    "rating": "4.2",
    "modof": null
  },
  {
    "id": "496751016",
    "name": "3D-принтер Anycubic Mega-S",
    "price": "19700",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "16748829",
    "specs_quantity": "26",
    "comments_quantity": "15",
    "photos_quantity": "2",
    "rating": "4.4",
    "modof": null
  },
  {
    "id": "496795003",
    "name": "3D-принтер FlashForge Adventurer 3",
    "price": "39900",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935236",
    "specs_quantity": "23",
    "comments_quantity": "3",
    "photos_quantity": "4",
    "rating": "4.6",
    "modof": null
  },
  {
    "id": "496802010",
    "name": "3D-принтер FlashForge Finder",
    "price": "34900",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935236",
    "specs_quantity": "26",
    "comments_quantity": "0",
    "photos_quantity": "1",
    "rating": "4.4",
    "modof": null
  },
  {
    "id": "606920145",
    "name": "3D-принтер Creality3D Ender 3",
    "price": "18498",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "16748828",
    "specs_quantity": "25",
    "comments_quantity": "16",
    "photos_quantity": "5",
    "rating": "4.5",
    "modof": null
  },
  {
    "id": "641067338",
    "name": "3D-принтер Creality3D Ender 3 Pro",
    "price": "20500",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "16748828",
    "specs_quantity": "24",
    "comments_quantity": "27",
    "photos_quantity": "4",
    "rating": "4.8",
    "modof": null
  },
  {
    "id": "648527298",
    "name": "3D-принтер Anycubic 4Max Pro",
    "price": "55000",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "16748829",
    "specs_quantity": "25",
    "comments_quantity": "4",
    "photos_quantity": "5",
    "rating": "4.2",
    "modof": null
  },
  {
    "id": "667715727",
    "name": "3D-принтер Wanhao GR2 (в закрытом корпусе)",
    "price": "61490",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "26",
    "comments_quantity": "0",
    "photos_quantity": "10",
    "rating": "0",
    "modof": null
  },
  {
    "id": "667749370",
    "name": "3D-принтер Wanhao GR2",
    "price": "59490",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "14935472",
    "specs_quantity": "26",
    "comments_quantity": "0",
    "photos_quantity": "7",
    "rating": "0",
    "modof": null
  },
  {
    "id": "724078010",
    "name": "3D-принтер Flying Bear Ghost 5",
    "price": "30490",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "18491450",
    "specs_quantity": "29",
    "comments_quantity": "8",
    "photos_quantity": "2",
    "rating": "4.2",
    "modof": null
  },
  {
    "id": "738202064",
    "name": "3D-принтер ELEGOO Mars",
    "price": "21890",
    "updated": "2021-03-01 18:23:08",
    "category_id": "9283442",
    "brand_id": "18825510",
    "specs_quantity": "21",
    "comments_quantity": "0",
    "photos_quantity": "1",
    "rating": "0",
    "modof": null
  },
  {
    "id": "744576203",
    "name": "3D-принтер Creality3D Ender-5 Pro",
    "price": "31000",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "16748828",
    "specs_quantity": "23",
    "comments_quantity": "2",
    "photos_quantity": "5",
    "rating": "5.0",
    "modof": null
  },
  {
    "id": "744714122",
    "name": "3D-принтер Anycubic Photon Mono SE",
    "price": "32590",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "16748829",
    "specs_quantity": "18",
    "comments_quantity": "0",
    "photos_quantity": "9",
    "rating": "0",
    "modof": null
  },
  {
    "id": "842416108",
    "name": "3D-принтер Anycubic Photon Mono X",
    "price": "58990",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "16748829",
    "specs_quantity": "19",
    "comments_quantity": "1",
    "photos_quantity": "6",
    "rating": "0",
    "modof": null
  },
  {
    "id": "862745071",
    "name": "3D-принтер Anycubic Mega Pro",
    "price": "29900",
    "updated": "2021-03-30 08:50:32",
    "category_id": "9283442",
    "brand_id": "16748829",
    "specs_quantity": "23",
    "comments_quantity": "0",
    "photos_quantity": "5",
    "rating": "0",
    "modof": null
  }
]
	
© Copyright YM Сканнер.