Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luisgbr1el/saldo-ru-ufc
Pacote do NPM que checa o saldo do cartão do Restaurante Universitário - UFC.
https://github.com/luisgbr1el/saldo-ru-ufc
node-js npm npm-package ru ufc ufc-crateus
Last synced: about 2 months ago
JSON representation
Pacote do NPM que checa o saldo do cartão do Restaurante Universitário - UFC.
- Host: GitHub
- URL: https://github.com/luisgbr1el/saldo-ru-ufc
- Owner: luisgbr1el
- License: mit
- Created: 2022-07-05T02:13:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T13:37:55.000Z (over 2 years ago)
- Last Synced: 2024-08-09T10:15:59.747Z (5 months ago)
- Topics: node-js, npm, npm-package, ru, ufc, ufc-crateus
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/saldo-ru-ufc/
- Size: 40 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# saldo-ru-ufc
Pacote que checa o saldo do cartão do Restaurante Universitário - UFC.[![GitHub issues](https://img.shields.io/github/issues/luisgbr1el/saldo-ru-ufc?style=flat-square)](https://github.com/luisgbr1el/saldo-ru-ufc/issues)
[![GitHub forks](https://img.shields.io/github/forks/luisgbr1el/saldo-ru-ufc?style=flat-square)](https://github.com/luisgbr1el/saldo-ru-ufc/network)
[![GitHub stars](https://img.shields.io/github/stars/luisgbr1el/saldo-ru-ufc?style=flat-square)](https://github.com/luisgbr1el/saldo-ru-ufc/stargazers)
[![GitHub license](https://img.shields.io/github/license/luisgbr1el/saldo-ru-ufc?style=flat-square)](https://github.com/luisgbr1el/saldo-ru-ufc)## Instalação (via NPM)
```git
npm install saldo-ru-ufc
```## Exemplo de uso
```js
const saldoRU = require('saldo-ru-ufc');saldoRU.saldo(NUMERO_CARTAO, NUMERO_MATRICULA).then(res => {
console.log(res);
})
```## Exemplo de resposta
```
{
nome: "MARIA EDUARDA SILVA",
creditos: 13,
ultimaOperacao: {
data: '19/09/2022 10:23:33',
tipo: 'Compra de Créditos',
detalhes: 'Qtd. Créditos: 30 Qtd. Antes: 1 / Qtd. Depois: 31'
}
}
```