1.1.4 • Published 4 years ago

hiveage v1.1.4

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

Hiveage Node.js Client

Node.js client library for using Hiveage APIs. Supports authorization and authentication to the Hiveage API using basic authentication.

NPM version Node.js version support Build status Code coverage Dependencies MIT licensed

Table of Contents

Requirements

Hiveage Node.js SDK requires the following to run:

Features

Allows connecting to the Hiveage API and geting results as JSON Objects. The client has the following features:

  • Transparent HTTPS connection to the Hiveage API
  • Allows simple HTTP basic authentication
  • Allows most common HTTP operations: GET, POST, PUT, DELETE, PATCH

Installation

$ npm install hiveage

Usage

First we need to create a HiveageAPI Object:

//importing Hiveage Package
const Hiveage = require("hiveage");

// Create Hiveage object using domain, API key
const HiveageAPI = new Hiveage("<< DOMAIN >>", "<< API KEY >>");
// Example : new Hiveage('john','xyzabcsded')

Thereafter, we can access the available methods of the HiveageAPI object:

// Creating new connection
HiveageAPI.createConnection(data)
  .then((response) => {
    console.log(response);
  })
  .catch((err) => {
    console.log(err);
  });

Methods

List of available methods

Network

Contacts

Invoice

Estimates

Payment

Expense

EntryExpense

Trip

EntryMileage

Task

Item

Notes :

  • hash : must field
  • id : must field
  • data : must field
    • should be a JSON object
  • params : optional field

    • should be a JSON object
      • Example :-
    params = { "per_page":20, "page":1, "order":"desc" }

Contributing

Please fork the repository and create a pull request.

Built With

  • Axios - client-side HTTP request library.

License

Hiveage node api client is licensed under the MIT license.
Copyright © 2020, Hiveage Inc.

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago