@divante-adventure/adventure-api-client
Library for connect to Adventure backend
Last updated 7 months ago by divante .
UNLICENSED · Repository · Original npm · Tarball · package.json
$ cnpm install @divante-adventure/adventure-api-client 
SYNC missed versions from official npm registry.

Adventure Rest Client

Install library to your project

npm i  @divante-adventure/adventure-api-client

Add library to your code

var client = require('@divante-adventure/adventure-api-client').AdventureClient;

Configure client object

client({url: "http://tajnyprojekt2.test.divante.pl", port: 49152, subdir: 'api'})

Used methods

client.employee.get() // return all employees as Promise object
client.project.get() // return all project as Promise object
client.employeeProject.get // return all assignes projects to employees as Promise object
client.employeeProject.assign({employeeId: 1, projectId: 1}) // assign employee to project. Return promise object
client.employeeProject.unassign(id); // delete assign. Return promise object
client.occupancy.getByStartAndEndTimestamp(startTimestamp, endTimestamp) /// get occupancy by parameters. Return promise object
client.occupancy.add({}) // Add ocupancy. Return promise object
client.occupancy.update(id, {}) // Update occupancy by id. Return promise object
client.occupancy.delete(id) // Delete occupancy by id. Return promise object

Current Tags

  • 2.0.1                                ...           latest (7 months ago)

97 Versions

  • 2.0.1                                ...           7 months ago
  • 2.0.0                                ...           7 months ago
  • 1.18.5                                ...           7 months ago
  • 1.18.4                                ...           7 months ago
  • 1.18.3                                ...           7 months ago
  • 1.18.2                                ...           7 months ago
  • 1.18.1                                ...           7 months ago
  • 1.18.0                                ...           7 months ago
  • 1.17.9                                ...           7 months ago
  • 1.17.8                                ...           7 months ago
  • 1.17.7                                ...           7 months ago
  • 1.17.6                                ...           7 months ago
  • 1.17.5                                ...           7 months ago
  • 1.17.4                                ...           7 months ago
  • 1.17.3                                ...           7 months ago
  • 1.17.2                                ...           7 months ago
  • 1.17.1                                ...           7 months ago
  • 1.17.0                                ...           8 months ago
  • 1.16.8                                ...           8 months ago
  • 1.16.7                                ...           8 months ago
  • 1.16.6                                ...           8 months ago
  • 1.16.5                                ...           8 months ago
  • 1.16.4                                ...           8 months ago
  • 1.16.3                                ...           8 months ago
  • 1.16.2                                ...           9 months ago
  • 1.16.1                                ...           9 months ago
  • 1.16.0                                ...           9 months ago
  • 1.15.2                                ...           9 months ago
  • 1.15.1                                ...           10 months ago
  • 1.15.0                                ...           10 months ago
  • 1.14.3                                ...           10 months ago
  • 1.14.1                                ...           a year ago
  • 1.14.0                                ...           a year ago
  • 1.13.8                                ...           a year ago
  • 1.13.7                                ...           a year ago
  • 1.13.5                                ...           a year ago
  • 1.13.4                                ...           a year ago
  • 1.13.3                                ...           a year ago
  • 1.13.2                                ...           a year ago
  • 1.13.1                                ...           a year ago
  • 1.13.0                                ...           a year ago
  • 1.12.0                                ...           a year ago
  • 1.11.0                                ...           a year ago
  • 1.10.31                                ...           a year ago
  • 1.10.30                                ...           a year ago
  • 1.10.29                                ...           a year ago
  • 1.10.28                                ...           a year ago
  • 1.10.27                                ...           a year ago
  • 1.10.26                                ...           a year ago
  • 1.10.25                                ...           a year ago
  • 1.10.24                                ...           a year ago
  • 1.10.23                                ...           a year ago
  • 1.10.22                                ...           a year ago
  • 1.10.21                                ...           a year ago
  • 1.10.20                                ...           a year ago
  • 1.10.19                                ...           a year ago
  • 1.10.18                                ...           a year ago
  • 1.10.17                                ...           a year ago
  • 1.10.16                                ...           a year ago
  • 1.10.15                                ...           a year ago
  • 1.10.14                                ...           a year ago
  • 1.10.13                                ...           a year ago
  • 1.10.12                                ...           a year ago
  • 1.10.11                                ...           a year ago
  • 1.10.10                                ...           a year ago
  • 1.10.9                                ...           a year ago
  • 1.10.8                                ...           a year ago
  • 1.10.7                                ...           a year ago
  • 1.10.6                                ...           a year ago
  • 1.10.5                                ...           a year ago
  • 1.10.4                                ...           a year ago
  • 1.10.3                                ...           a year ago
  • 1.10.2                                ...           a year ago
  • 1.10.1                                ...           a year ago
  • 1.10.0                                ...           a year ago
  • 1.9.2                                ...           a year ago
  • 1.9.1                                ...           a year ago
  • 1.9.0                                ...           a year ago
  • 1.8.1                                ...           a year ago
  • 1.8.0                                ...           a year ago
  • 1.7.2                                ...           a year ago
  • 1.7.1                                ...           a year ago
  • 1.7.0                                ...           a year ago
  • 1.6.3                                ...           a year ago
  • 1.6.2                                ...           a year ago
  • 1.6.1                                ...           a year ago
  • 1.6.0                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 97
Last Day 0
Last Week 97
Last Month 2
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |