node-markitondemand
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "node-markitondemand", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Node library for dev.markitondemand.com REST APIs.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/markitondemand.js", |
node-markitondemand | ||
=================== | ||
[![npm version](https://badge.fury.io/js/node-markitondemand.svg)](http://badge.fury.io/js/node-markitondemand) | ||
[![Build Status](https://travis-ci.org/ahmedfarooki/node-markitondemand.svg)](https://travis-ci.org/ahmedfarooki/node-markitondemand) | ||
@@ -34,3 +35,3 @@ [![Coverage Status](https://coveralls.io/repos/ahmedfarooki/node-markitondemand/badge.svg)](https://coveralls.io/r/ahmedfarooki/node-markitondemand) | ||
markit.lookup('AAPL', function(data) { | ||
markit.lookup('AAPL', function(err, data) { | ||
// Where data is an array of stock symbols | ||
@@ -55,3 +56,3 @@ console.log(data); | ||
markit.getQuote('AAPL', function(stock) { | ||
markit.getQuote('AAPL', function(err, stock) { | ||
// Where stock is an object of stock data | ||
@@ -72,3 +73,3 @@ console.log(stock); | ||
markit.getQuotes(['AAPL', 'F'], function(stocks) { | ||
markit.getQuotes(['AAPL', 'F'], function(err, stocks) { | ||
// Where stocks is an array of objects of stock data | ||
@@ -75,0 +76,0 @@ console.log(stocks); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119
11714
9
185