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
- Host: GitHub
- URL: https://github.com/qertis/raspisanie
- Owner: qertis
- Created: 2020-05-14T19:01:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T19:01:46.000Z (about 5 years ago)
- Last Synced: 2025-01-03T14:28:05.836Z (5 months ago)
- Topics: gotois, rasp, yandex-api
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/raspisanie
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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))
```