Categories and subcategories list

http://dev.moyuniver.ru/api/php/v03/api_catalog.php?cid=

  • cid – unique parent category identifier (0 for the top level)

Request example

http://dev.moyuniver.ru/api/php/v03/api_catalog.php?cid=0&appid=306&appsgn=d8629af695839ba5481757a519e57fb1&appcode=&os=&ver=&width=&height= (список категорий верхнего уровня)

Response format

CID#CNAME#SCNUM#SNUM

  • CID – unique category identifier
  • # – separator
  • CNAME – category name
  • SCNUM – number of not empty subcategories
  • SNUM – number of subjects in the category

Response example

1#Гуманитарные науки#2#2
31#Профессии и Прикладные науки#1#1

While navigating through categories it is important to maintain possibility to return to the upper level in the category hierarchy tree

Comments (0)