0.2.8 • Published 7 years ago

thehover-rest-sdk v0.2.8

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

rest-api-sdk-javascript

Hover API Rest SDK for JavaScript

Welcome to the Hover SDK for JavaScript, this SDK is for building a robust JavaScript application based on the Hover API. The Hover SDK for JavaScript makes it easy to integrate a full Hover API services into javascript (NodeJS) apps.

SDK Integration

In order to integrate the SDK into your node.js project follow the next steps:

  • Add dependency 'thehover-rest-sdk' to your package.json file.

  • Require 'thehover-rest-sdk' in your script

    	```javascript
    		var thehover_sdk = require('thehover-rest-sdk');
    	```
  • Configure SDK, by providing the required parameters:

    	```javascript
    		thehover_sdk.configure({'endpoint':'127.0.0.1', 
    					'port':'80',
    					'api-version':'v1',
    					'ckey':'your-ckey'});
    	```
    
    	All configure options available are:
    
    	* connection_timeout - the timeout to wait a request
    	* connection_readtimeout - the timeout to read response
    	* endpoint - the dns or ip for The Hover API (default to our sandbox cloud) 
    	* port - the port for The Hover API (default to our sandbox)
    	* api_version - the version of API (defualt v1)
    	* ckey - your client secret token key to access the API 
    	* branch_id - the branch id of your SUPER BLUE USER
    	* user_id - the user id of your SUPER BLUE USER
  • Invoke API

    	```javascript
    		thehover_sdk.profiles.fetch(profile, function(error, cb) {
      	    if (error) {
               	console.log(error);
              	throw error;
      	    } else {
              	console.log('Received response: ' + cb.response);
      	});
    	```
  • Function Index

FunctionParameters
versionnonereturns sdk version
configureoptions - a json with configurable options for the sdkconfigure env for sdk
profiles.createreq_data - json, callback - function to return response
profiles.updatereq_data - json, callback - function to return response
profiles.fetchreq_data - json, callback - function to return response
object.createreq_data - json, callback - function to return response
object.updatereq_data - json, callback - function to return response
object.fetchreq_data - json, callback - function to return response
object.search {deprecated}req_data - json, callback - function to return response
object.queryreq_data - json, callback - function to return response
object.availabilityreq_data - json, callback - function to return response
object.isColorreq_data - json, callback - function to return response
object.loginreq_data - json, callback - function to return response
object.changePasswordreq_data - json, callback - function to return response
merge.createreq_data - json, callback - function to return response
merge.updatereq_data - json, callback - function to return response
merge.fetchreq_data - json, callback - function to return response
notification.createreq_data - json, callback - function to return response
notification.updatereq_data - json, callback - function to return response
notification.fetchreq_data - json, callback - function to return response
notification.fetchByIdreq_data - json, callback - function to return response
tags.createreq_data - json, callback - function to return response
tags.updatereq_data - json, callback - function to return response
tags.fetchreq_data - json, callback - function to return response
nfc.assignreq_data - json, callback - function to return response
nfc.updatereq_data - json, callback - function to return response
nfc.fetchreq_data - json, callback - function to return response
nfc.searchreq_data - json, callback - function to return response
group.createreq_data - json, callback - function to return response
group.updatereq_data - json, callback - function to return response
group.fetchreq_data - json, callback - function to return response
file.updloadreq_data - json, callback - function to return response
file.fetchreq_data - json, callback - function to return response
geospatial.createreq_data - json, callback - function to return response
geospatial.updatereq_data - json, callback - function to return response
geospatial.filterreq_data - json, callback - function to return response
metric.createreq_data - json, callback - function to return response
metric.fetchreq_data - json, callback - function to return response
  • Function Deprecated Index
FunctionParameters
metric.create_backward_compatreq_data - json, callback - function to return response, it uses a deprecated /user/action
metric.fetch_backward_compatreq_data - json, callback - function to return response, it uses a deprecated /user/action

About

You can find more info about courses of how to use the API, SDKs or integration of The Hover into your app, visiting us at: http://www.thehover.com or mail us: thehover@hovanetworks.com

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago