Socket
Socket
Sign inDemoInstall

izi-travel-api

Package Overview
Dependencies
4
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    izi-travel-api

Node module to assist with izi travel api


Version published
Weekly downloads
1
Maintainers
1
Install size
24.7 MB
Created
Weekly downloads
 

Readme

Source

izi-travel-api

A small library that makes the izi-travel-api a little easier Examples: https://github.com/JustinPMitchell/izi-travel-api-example

Installation

npm install izi-travel-api

Usage

var izi = require('izi-travel-api');

var clientObject = {};

/* Objects are rendered and manipulated here / function iziCallback(iziObject) { / the iziObject stores information that was difficult to find in the api */ console.log("CLIENT CODE: " + iziObject.iziTitle[0]); clientObject = iziObject; }

/* This call will store one Amsterdam tour object in iziObject */ izi.iziCall("Amsterdam", apiKey, iziCallback);

Object

iziObject = {
  iziOriginal: [],
  iziTitle: [],
  iziType: [],
  iziLatitude: [],
  iziLongitude: [],
  iziCountry: [],
  iziDescription: [],
  imageFile: [],
}

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Keywords

FAQs

Last updated on 14 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc