0.0.2 • Published 6 months ago

we-toolkit v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

we-toolkit

we-toolkit is a package that provides easy access to Telecom Egypt's API.

Installation

Use the package manager npm to install we-toolkit.

npm install we-toolkit

Usage

const { getBalance, getUsage, login } = require("we-toolkit");

// Use the functions provided by the package
// For example:
let authData = login("number", "password");
let balance = getBalance(authData);
let usage = getUsage(authData);

API

login(number, password)

Logs in to the service and returns an authData object.

getBalance(authData)

Returns the balance for the authenticated user.

getUsage(authData)

Returns the data usage for the authenticated user.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Acknowledgements

License

MIT

0.0.2

6 months ago

0.0.1

6 months ago

0.0.1-rc.27

2 years ago