0.1.5 • Published 3 years ago

@toplast/lastfm v0.1.5

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago
const LastFm = require("@toplast/lastfm");
const lastFm = new LastFm("SOME_NICE_API_KEY");

lastFm.user
  .getTopAlbums({ user: "castilh0s" })
  .then(response => console.log(response)) // Handle success
  .error(error => console.log(error)); // Handle error

Installation

# With npm
$ npm install @toplast/lastfm

# With yarn
$ yarn add @toplast/lastfm

TypeScript

@toplast/lastfm includes TypeScript definitions.

import LastFm from "@toplast/lastfm";

const lastFm = new LastFm("API_KEY");

lastFm.user.getTopAlbums({ user: "castilh0s" });

License

MIT

0.1.4

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.11

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago