izi-travel-api
Advanced tools
Comparing version 0.1.23 to 0.1.24
{ | ||
"name": "izi-travel-api", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"description": "Node module to assist with izi travel api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -14,10 +14,11 @@ izi-travel-api | ||
```javascript | ||
/* required the node module */ | ||
var izi = require('izi-travel-api'); | ||
var clientObject = {}; | ||
```javascript | ||
/* Objects are rendered and manipulated here */ | ||
function iziCallback(iziObject) { | ||
/* the iziObject stores information that was difficult to find in the api */ | ||
/* the iziObject stores information that was difficult to | ||
find in the api */ | ||
console.log("CLIENT CODE: " + iziObject.iziTitle[0]); | ||
@@ -28,5 +29,7 @@ clientObject = iziObject; | ||
```javascript | ||
/* This call will store one Amsterdam tour object in iziObject */ | ||
izi.iziCall("Amsterdam", apiKey, iziCallback); | ||
``` | ||
## Object | ||
@@ -33,0 +36,0 @@ |
8257
52