Comparing version 2.0.0 to 2.1.0
@@ -55,30 +55,18 @@ /** | ||
/** | ||
* Retrieves Citibike Stations JSON Data and prints to console | ||
* | ||
*/ | ||
/** Retrieves Citibike Stations JSON Data and prints to console */ | ||
citibike.getStations(null, function(data) { | ||
console.log("------ Printing Citibike Stations ------"); | ||
console.log("Getting Citibike Stations..."); | ||
console.log(data); | ||
console.log("------ End Citibike Stations ------"); | ||
}); | ||
/** | ||
* Retrieves Citibike Branches JSON Data and prints to console | ||
* | ||
*/ | ||
/** Retrieves Citibike Branches JSON Data and prints to console */ | ||
citibike.getBranches(null, function(data) { | ||
console.log("------ Printing Citibike Branches ------"); | ||
console.log("Getting Citibike Branches..."); | ||
console.log(data); | ||
console.log("------ End Citibike Branches ------"); | ||
}); | ||
/** | ||
* Retrieves Citibike Helmets JSON Data and prints to console | ||
* | ||
*/ | ||
/** Retrieves Citibike Helmets JSON Data and prints to console */ | ||
citibike.getHelmets(null, function(data) { | ||
console.log("------ Printing Citibike Helmets ------"); | ||
console.log("Getting Citibike Helmets..."); | ||
console.log(data); | ||
console.log("------ End Citibike Helmets ------"); | ||
}); |
@@ -25,3 +25,3 @@ "use strict"; | ||
// Default Client Options | ||
var defaults = { | ||
this.defaults = { | ||
api_key: null, | ||
@@ -43,3 +43,3 @@ | ||
this.options = utils.merge(defaults, options); | ||
this.options = utils.merge(this.defaults, options); | ||
} | ||
@@ -46,0 +46,0 @@ |
{ | ||
"name": "citibike", | ||
"version": "2.0.0", | ||
"description": "Citibike API Client Library for node.js", | ||
"homepage": "https://github.com/KevinTCoughlin/citibike", | ||
"keywords": [ | ||
@@ -12,19 +12,27 @@ "citbikenyc", | ||
], | ||
"homepage": "https://github.com/KevinTCoughlin/citibike", | ||
"version": "2.1.0", | ||
"author": "Kevin Coughlin <kevintcoughlin@gmail.com>", | ||
"licenses": [ | ||
{ | ||
"type": "The MIT License", | ||
"url": "https://raw.github.com/KevinTCoughlin/citibike/master/LICENSE" | ||
} | ||
"contributors": [ | ||
"Brad Dickason <https://twitter.com/bdickason>" | ||
], | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/KevinTCoughlin/citibike.git" | ||
"url": "git@github.com:KevinTCoughlin/citibike.git" | ||
}, | ||
"bugs": "https://github.com/LearnBoost/knox/issues", | ||
"scripts": { | ||
"test": "mocha" | ||
}, | ||
"dependencies": {}, | ||
"engines": [ | ||
"node >=0.4.0" | ||
], | ||
"devDependencies": { | ||
"mocha": "*" | ||
}, | ||
"directories": { | ||
"lib": "./lib" | ||
}, | ||
"engines": { | ||
"node": ">= 0.8" | ||
}, | ||
"main": "./lib/citibike" | ||
} |
@@ -36,2 +36,21 @@ # CitibikeNYC API Client Library for node.js | ||
MIT license. See the LICENSE file for details. | ||
Citibike: Copyright (c) 2013 Kevin Coughlin | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
32332
16
329
55
1
1