Неофициальная обертка для закрытого API сайта Самарской Объединенной Транспортной Карты, написанная для NodeJS. https://npmjs.com/package/s-otk-js
This repository has been archived on 2025-09-14. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2022-11-22 20:14:40 +04:00
docs Reverse-engineering info updated 2022-11-22 20:14:40 +04:00
examples Invoices 2022-11-13 20:54:04 +04:00
src Move operations codes to runJSONOperation method (closes #1) 2022-11-18 22:38:55 +04:00
test Move operations codes to runJSONOperation method (closes #1) 2022-11-18 22:38:55 +04:00
.eslintrc.cjs Card info get method 2022-04-22 18:56:26 +04:00
.gitignore Fix fetch by setting redirect: 'manual' 2022-11-13 11:35:03 +04:00
babel.config.cjs Initial commit to "typescript" branch 2022-11-12 12:13:48 +04:00
jest.config.js Initial commit to "typescript" branch 2022-11-12 12:13:48 +04:00
LICENSE.md Initial commit to "typescript" branch 2022-11-12 12:13:48 +04:00
package-lock.json Fix security vulnerability 2022-11-13 16:56:44 +04:00
package.json Reverse-engineering info updated 2022-11-22 20:14:40 +04:00
README.md Move operations codes to runJSONOperation method (closes #1) 2022-11-18 22:38:55 +04:00
tsconfig.json README updates 2022-11-13 16:14:15 +04:00

s-otk-js

Неофициальная обертка для закрытого API сайта Самарской Объединенной Транспортной Карты, написанная для NodeJS.

TypeScript logo

Jest Logo

Coverage

Установка

npm i s-otk-js

Использование

import SOTKAPI from 's-otk-js'

const SOTK = new SOTKAPI()
await SOTK.login({ username, password })

Документация

Вы можете найти ее здесь: docs/REFERENCE.md

Коллекция Postman

Для удобства я также создал коллекцию в Postman: https://www.getpostman.com/collections/62ef370751fdab25a1d1

Немного про обратную разработку

Вы можете почитать здесь: docs/INFO.md

Примеры

Вы можете найти примеры в директории examples/

Contributing

Лучше задонатьте мне:)

Funding

hloth.dev/donate

License

MIT