ovh-angular-apiv7
v1.2.8
Published
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 th
Downloads
39
Readme
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
<script src="dist/ovh-angular-apiv7.min.js" type="text/javascript"></script>
- In your
app.js
, add ovh-angular-apiv7 as a dependency
angular.module("myModule", ["ovh-angular-apiv7"]);
- 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