Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andremiras/mysodexo.js
JavaScript Client for Mysodexo API
https://github.com/andremiras/mysodexo.js
sodexo
Last synced: 2 months ago
JSON representation
JavaScript Client for Mysodexo API
- Host: GitHub
- URL: https://github.com/andremiras/mysodexo.js
- Owner: AndreMiras
- License: bsd-3-clause
- Created: 2019-11-24T16:55:40.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-01T14:56:13.000Z (4 months ago)
- Last Synced: 2024-10-27T07:28:26.927Z (3 months ago)
- Topics: sodexo
- Language: TypeScript
- Homepage: https://andremiras.github.io/mysodexo.js
- Size: 609 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Mysodexo JavaScript client
[![Tests](https://github.com/AndreMiras/mysodexo.js/workflows/Tests/badge.svg)](https://github.com/AndreMiras/mysodexo.js/actions/workflows/tests.yml)
[![Coverage Status](https://coveralls.io/repos/github/AndreMiras/mysodexo.js/badge.svg?branch=main)](https://coveralls.io/github/AndreMiras/mysodexo.js?branch=main)
[![Documentation](https://github.com/AndreMiras/mysodexo.js/workflows/Documentation/badge.svg)](https://github.com/AndreMiras/mysodexo.js/actions/workflows/documentation.yml)
[![npm version](https://badge.fury.io/js/mysodexo.svg)](https://badge.fury.io/js/mysodexo)A Javascript client for the Mysodexo [reverse engineered API](https://medium.com/@andre.miras/reverse-engineering-sodexos-api-d13710b7bf0d).
## Install & Usage
Install it with npm.
```sh
npm install mysodexo
```Then use the command line client.
```sh
mysodexo --balance
```Or the library.
```js
import { login } from "mysodexo";
login("[email protected]", "password").then(({ accountInfo }) =>
console.log(accountInfo)
);
```