Сроки представления бюджетной отчетности
Характеристики
| Код | reportperiod |
| Набор данных | Сроки представления бюджетной отчетности |
| Объём | 614,500 записей, 1.5 GB |
| Поля с индексами | formcodeokud, reportdate, reppername, representdate1, representdate2, informationset.infnumber, informationset.ebinfnumber, informationset.formdatetime, informationset.appdatetime, informationset.reportdate, informationset.codereestr, informationset.inn, informationset.kpp, informationset.budgetcycle, informationset.signoneyear, informationset.presenceadsence, informationset.noinform, budget.budgetcode, subject.codereestr, npa.viewnpa, npa.numbernpa, npa.approvaldate, npa.entrydate |
| Дата последнего обновления | 2021-06-14 07:07:08.187000 |
Доступ
Ключ передается в запросе через параметр apikey, ?apikey=МОЙ_КЛЮЧ_API
Пример кода (Python3)
import requests
import json
HOSTNAME = "api.crftr.net"
APIKEY = 'Укажите ключ для доступа к API'
query = {"formcodeokud": "Укажите значение для фильтра"}
result = requests.get(
"https://%s/rawapi/v3/budgetgovru/reportperiod?apikey=%s&where=%s"
% (HOSTNAME, APIKEY, str(query).replace("'", '"'))
).json()
if "_meta" in result.keys() and result["_meta"]["total"] > 0:
print(json.dumps(result["_items"][0], indent=4, ensure_ascii=False))