@ifings/api-client
v1.0.0
Published
iFings API client
Downloads
28
Readme
@ifings/api-client
iFings API client
Table of Contents
About
This package provides a lightweight wrapper around the iFings API to allow for easy consumption on the frontend projects. It is currently being used by:
- fng-web-hardware
- fng-web-portal
Usage
import api from '@ifings/api-client'
api.licences.licenceLearnerCount(clientId).then(console.log).catch(console.error)
For more information, please see the Docs directory.
Install
This project uses node and npm.
$ npm install @ifings/api-client
$ # OR
$ yarn add @ifings/api-client
Publishing
This module uses the Automated releases for npm packages Github action for releasing when pushed to the master
branch.
Versioning
- If the string "BREAKING CHANGE" is found anywhere in any of the commit messages or descriptions the major version will be incremented.
- If a commit message begins with the string "feat" then the minor version will be increased. This works for most common commit metadata for feature additions: "feat: new API" and "feature: new API".
- All other changes will increment the patch version.
FAQS
- What is going on with the
package.json
version? See the Script does not update package.json issue
Contribute
- Fork it and create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am "Add some feature"
- Push to the branch:
git push origin my-new-feature
- Submit a pull request