ds-api
v1.2.0
Published
Javascript SDK for Dansk Supermarked API
Downloads
4
Readme
Javascript SDK for Dansk Supermarked API
https://developer.dansksupermarked.dk/v1/api/libraries/javascript/ds-api/
Documentation
Changelog
1.2.0
getAll
now correctly used the query object for all requests
1.1.0
- Removed node hacks
- No body in request for GET and HEAD requests
1.0.6
- Added browserify transforms to be able to use babel
1.0.5
- Bugfixes
- Post should use
body
instead of deprecateddata
in fetch
- Post should use
1.0.4
- Bugfixes:
- Firefox can not use forEach on Headers in fetch
1.0.3
- Bugfixes:
- Use count 0 if no items are found
1.0.2
- Use HEAD request for counting
1.0.1
- Map headers to javascript object.
1.0.0
- not dependent of jQuery, but using latest EcmaScript methods, which should be polyfilled with polyfill.io
- jQuery polyfill added
- refactored source code using ES6
count
has been added
0.1.1
getAll
have implementedprogress
for the promise
0.1.0
get
,getAll
andsetKey
added- pagination functions
- meta data (headers)
Contribute
Feel free to contribute to the SDK. Just make sure to comply with the rulesets for JSHint and jscs.
To contribute make a fork of this project and when you are happy with the code make a pull request.
Before submitting a Pull Request make sure that all tests are run successfully:
$ npm test
Support
If you need any help with the SDK write a request to [email protected].