lastfm-node-client
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,0 +0,0 @@ const crypto = require("crypto"); |
@@ -0,0 +0,0 @@ const nock = require("nock"); |
@@ -0,0 +0,0 @@ const ApiRequest = require("./ApiRequest"); |
{ | ||
"name": "lastfm-node-client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "JavaScript library for interfacing with the Last.fm API", | ||
@@ -5,0 +5,0 @@ "main": "lib/LastFm.js", |
# Last.Fm Node Client | ||
[![npm](https://img.shields.io/npm/v/lastfm-node-client.svg)](https://www.npmjs.com/package/lastfm-node-client) | ||
[![Build Status](https://travis-ci.org/rattletone/lastfm-node-client.svg?branch=master)](https://travis-ci.org/rattletone/lastfm-node-client) | ||
@@ -61,3 +62,3 @@ [![Coverage Status](https://coveralls.io/repos/github/rattletone/lastfm-node-client/badge.svg?branch=master)](https://coveralls.io/github/rattletone/lastfm-node-client?branch=master) | ||
}) | ||
.then((err, data)) => { | ||
.then(data => { | ||
console.log(data); | ||
@@ -90,2 +91,4 @@ }; | ||
When callback is passed, methods do not return a `promise`, instead return `undefined`. The `params` parameter is required when the callback parameter is passed. | ||
When callback is passed, methods do not return a `promise`, instead return `undefined`. The `params` parameter is required when a callback argument is passed. | ||
**Note**: Endpoints `Auth.getToken` and `Tag.getTopTags` do not require additional parameters, as such, methods `lastFm.authGetToken()` and `lastFm.tagGetTopTags()` do not accept a `params` argument. A callback can be passed as the first argument. |
Sorry, the diff of this file is not supported yet
94336
93