Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

firstfm

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firstfm

  • 0.8.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

{Build Status}[https://travis-ci.org/egze/firstfm]

=Firstfm

Firstfm is a ruby wrapper for the Last.fm APIs ( http://www.last.fm/api ).

My main focus is to import events from Last.FM, but with time I will try to add support for all API methods.

== Installation

sudo gem install firstfm

or add to your Gemfile

gem 'firstfm'

== Configuration

This goes to your initializers/firstfm.rb

Firstfm.configure do |ffm| ffm.api_key = "YOUR_KEY_HERE" end

== Usage

Firstfm::Venue.search("arena")

Firstfm::Venue.get_events(8908030)

Firstfm::Geo.get_events :location => "Berlin"

Firstfm::Artist.search "Eminem"

Firstfm::Artist.get_top_tracks "Eminem"

Firstfm::Track.search "Believe"

FAQs

Package last updated on 16 Aug 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc