ovh-angular-apiv7
The ovh-angular-apiv7 module is an angular component designed to configure Apiv7Endpoints with the same interface as a $resource yet allow for extended configuration by providing Apiv7Requests objects that can be modified with chained methods to define the parameters sent to APIv7.
Requirements
- angular
- angular-resource
- lodash
- externally provided auth and token injection for OVH APIv6.
Installation
Bower
bower install ovh-angular-apiv7 --save
NPM
npm install ovh-angular-apiv7 --save
Howto's
- In your
index.html
, inject scripts and styles
- In your
app.js
, add ovh-angular-apiv7 as a dependency
angular;
- use it like $resource (see Documentation for more)
Documentation
- run `grunt connect`
- go to `http://localhost:9090/#/docs/`
Get the sources
git clone https://github.com/ovh-ux/ovh-angular-apiv7.git cd ovh-angular-apiv7 npm install bower install
You've developed a new cool feature ? Fixed an annoying bug ? We'd be happy to hear from you !
see CONTRIBUTING.md
Build tools
- `grunt`: to build
- `grunt test`: to run code quality inspection tools and unit tests
- `grunt watch`: to watch for code changes and rerun tests
- `grunt release --type=major|minor|patch`: to release your module
Related links
- Contribute: https://github.com/ovh-ux/ovh-angular-apiv7/blob/master/CONTRIBUTING.md
- Report bugs: https://github.com/ovh-ux/ovh-angular-apiv7/issues
- Get latest version: https://github.com/ovh-ux/ovh-angular-apiv7
License
See https://github.com/ovh-ux/ovh-angular-apiv7/blob/master/LICENSE