8000 GitHub - Mayank009/node-sdk: Horntell SDK for NodeJS · GitHub
[go: up one dir, main page]

Skip to content
Mayank009Public
forked from horntell/node-sdk

About

Horntell SDK for NodeJS

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Horntell SDK for NodeJS

This SDK allows you to easily integrate Horntell in your NodeJS applications.

Requirements

NodeJS 0.10.x or later.

Installation

You can install the SDK using NPM. Add this to your package.json file.

{
	"dependencies": {
		"horntell": "0.3.x"
	}
}

Then, pull the package using the following command:

npm install

Getting Started

You need to initialize the SDK with the app's key and secret, which you can find in your account at http://app.horntell.com. Sample usage looks like this.

'use strict';

var Horntell = require('horntell');
Horntell.app.init('YOUR_APP_KEY', 'YOUR_APP_SECRET');

Horntell.profile.create({
	uid: '1337',
	first_name: 'John',
	last_name: 'Doe',
	signedup_at: 1383350400
}).then(successCallback, errorCallback);

Documentation

Please see http://docs.horntell.com/api for up-to-date documentation.

About

Horntell SDK for NodeJS

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0