An open API service indexing awesome lists of open source software.

https://github.com/qertis/raspisanie

Yandex Raspisanie Node.js API
https://github.com/qertis/raspisanie

gotois rasp yandex-api

Last synced: 4 months ago
JSON representation

Yandex Raspisanie Node.js API

Awesome Lists containing this project

README

        

# Raspisanie

## Получить ключ API Яндекс.Расписаний
https://developer.tech.yandex.ru/keys/

## Установить модуль
```sh
npm i raspisanie --save
```

## Пример
```js
const Raspisanie = require('raspisanie')
const raspisanie = new Raspisanie('YOUR_KEY')
raspisanie.request({
from: 'c146',
to: 'c213',
date: '2020-05-28',
path: '1'
}).then(data => console.log(data))
.catch(error => console.error(error))
```