How to get data from Bitrix using the API?

Have a box of Bitrix, which somehow didn't implement the REST API (although it is in B24). You need to write an application that will pull data from Bitrix in XML or JSON format and to work with them. It is even possible to make some changes in the Bitrix. How to implement it, where to dig? At first I was hoping that the REST API is still there and I don't even have to open the source code of Bitrix, but as I understand it, I need to implement your API using, e.g. SOAP?
September 26th 19 at 06:41
2 answers
September 26th 19 at 06:43
In its simplest version:
1. creating a web page that connects the prologue and the pulling component that pulls your data (news.list, catalog.section..)
2. to create a component template that simply pulls json_encode($arResult), and the client already understand that there you come.

A small complication in the component template lead to the desired JSON structure.
Slightly more complexity is to write your component to get only the data you need and return the already prepared form.
September 26th 19 at 06:45
the Bitrix web-services, view the documentation, pay attention to a webservice component.statistic (for example) and webservice.server

Find more questions by tags 1C-Bitrix1C-Bitrix24APIPHPRESTful API