• Stars
    star
    248
  • Rank 162,502 (Top 4 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 14 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Ruby interface for Last.fm Web Services

ruby-lastfm Build Status

A Ruby interface for Last.fm Web Services v2.0

Synopsis

require 'lastfm'

lastfm = Lastfm.new(api_key, api_secret)
token = lastfm.auth.get_token

# open 'http://www.last.fm/api/auth/?api_key=xxxxxxxxxxx&token=xxxxxxxx' and grant the application

lastfm.session = lastfm.auth.get_session(token: token)['key']

lastfm.track.love(artist: 'Hujiko Pro', track: 'acid acid 7riddim')
lastfm.track.scrobble(artist: 'Hujiko Pro', track: 'acid acid 7riddim')
lastfm.track.update_now_playing(artist: 'Hujiko Pro', track: 'acid acid 7riddim')

Supported Rubies

  • 1.9.3
  • 2.0.0
  • 2.1.0
  • 2.2.0

Supported API Methods

It supports methods which require authentication.

Album

Artist

Auth

Event

Radio

Tag

Tasteometer

Track

User

Geo

Group

Library

Chart

Installation

Archive Installation

rake install

Gem Installation

gem update --system
gem install gemcutter
gem tumble
gem install lastfm

Features/Problems

Comitters

see https://github.com/youpy/ruby-lastfm/contributors

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright (c) 2010 youpy. See LICENSE for details.

More Repositories

1

go-wav

A Go library to read/write WAVE(RIFF waveform Audio) Format
Go
150
star
2

ruby-echonest

A Ruby interface for Echo Nest Developer API
Ruby
72
star
3

scissor

utility to chop sound files
Ruby
45
star
4

mac-robot

A Library to Automate User Interactions
Ruby
36
star
5

ruby-spotlight

Library to use Spotlight from Ruby
C
25
star
6

netprint

A library and command line tool for using netprint
Ruby
24
star
7

mac-event-monitor

A Library to Monitor User Interactions
Ruby
23
star
8

grope

A non-GUI library to represent headless browser environment
Ruby
14
star
9

www-favicon

find favicon from url
Ruby
14
star
10

go-coremidi

A Go library to use MIDI on Mac
Go
14
star
11

glitchmonkey

Un script para greasemonkey (firefox extension) que corrompe las fotos de cualquier website
JavaScript
12
star
12

glitched-ttf-generator

Ruby
11
star
13

scissor-echonest

Scissor extension to use Echo Nest Developers API
Ruby
11
star
14

node-zws

library to encode/decode text using zero width spaces
JavaScript
8
star
15

generic-step-sequencer

TypeScript
8
star
16

ruby-itunes-observer

Observe iTunes and notify when starting playng track
Ruby
6
star
17

newextension

creates a Firefox extension skeleton
Ruby
6
star
18

elm-midi

An Elm library for working with MIDI
Elm
6
star
19

eventmachine-distributed-notification

An EventMachine extension to watch/post OS X's Distributed Notification
Ruby
6
star
20

ruby-objc-swift-extension-example

Swift
6
star
21

Hoover.js

JavaScript
6
star
22

AudioChat.SkypeChatStyle

JavaScript
5
star
23

rack-middleware-glitch

Ruby
5
star
24

taimaa

Yet another stable timer implementation using `ended` event fired by AudioBufferSourceNode
JavaScript
5
star
25

sinatra-oauth-template

Ruby
5
star
26

split-tweet

Split Text & Tweet
Ruby
5
star
27

net-twitter-status

library to get Twitter's current status information
Ruby
4
star
28

simple-color-picker

Ruby
4
star
29

mac-skype

A library to use Skype from Mac
Ruby
4
star
30

go-llvm-frontend-study

golang port of http://tatsu-zine.com/books/llvm chapter 5
Go
4
star
31

go-mac-display

A Go library to control displays
Go
4
star
32

collaborative-tweet

Ruby
4
star
33

go-riff

A Go library to read/write RIFF format
Go
4
star
34

yea

TypeScript
4
star
35

ruby-launch-agent

A library to use launchd easily
Ruby
4
star
36

youpy.no.de

JavaScript
4
star
37

IntervalVisualizer.SkypeChatStyle

A skype chat style to visualize the interval between conversations
JavaScript
3
star
38

dowoscillator

play Dow Jones Industrial Average as sine wave
Objective-C
3
star
39

EuclideanSequencer.js

JavaScript
3
star
40

music-text-normalization

A library for normalizing music related texts
Ruby
3
star
41

caudio

Implementing baudio with Go + CoreAudio
Go
3
star
42

youpy.jottit.com

Shell
3
star
43

soundcloud-dashboard-podcast

Ruby
3
star
44

rack-musicindex

A Rack middleware to publish directories containing media files as podcast
Ruby
3
star
45

proc-throttle

Proc#throttle: throttling calls
Ruby
3
star
46

l

Turtle Geometry + L-system in Go
Go
3
star
47

pimento

Draw graphics using Mac OS X GUI Components
Ruby
3
star
48

blank-tweet

A ruby/sinatra app for tweeting a blank tweet on Twitter
Ruby
3
star
49

soundcloud-podcast-opener

A Chrome extention for opening podcast for soundcloud.com user tracks.
JavaScript
3
star
50

pimento-banner-generator

Ruby
2
star
51

directory-index-finder

Firefox extention to find naked directory index
JavaScript
2
star
52

electron-input

An electron application with GUI controls for use with the command line application.
JavaScript
2
star
53

pulsar-synthesis

Created with CodeSandbox
JavaScript
2
star
54

youpy.github.com

CSS
2
star
55

test

2
star
56

nerpin

A Ruby library to send manufacturer-specific or instrument-specific MIDI messages
Ruby
2
star
57

go-jottit

A library for retrieving contents from jottit.com
Go
2
star
58

vacanthotelsearch

JavaScript
2
star
59

cuora

Yet another turtle graphics library
JavaScript
2
star
60

eventmachine-itunes

An EventMachine extension to watch iTunes
Ruby
2
star
61

scala-android-textconverter

Scala
2
star
62

nerpin-js

JavaScript
2
star
63

ruby-text-converter

Ruby
2
star
64

node-websocket-tailf-server

JavaScript
2
star
65

chrome-binary-player

JavaScript
2
star
66

chrome-directory-index-finder

Find naked directory index
JavaScript
2
star
67

string-pad

Creates a new string by concatenating enough leading zero-width pad characters to an original string to achieve a specified total length.
Ruby
2
star
68

audioworklet-playground

https://audioworklet-playground.herokuapp.com/
JavaScript
2
star
69

chrome-execute-stream

A read/write stream to execute Javascript on Google Chrome
JavaScript
2
star
70

BCNMIX07

BCNMIX07 youpy - Washing Machines
JavaScript
1
star
71

docker-bashCMS

Shell
1
star
72

id3tag-automator-workflows

1
star
73

scala-android-remotelight

Scala
1
star
74

0xffffff

A Tool to Upload 0xffffff Images to Flickr
Ruby
1
star
75

go-futures

Go
1
star
76

docker-compose-git

Dockerfile
1
star
77

sinatra-rspec-template

Ruby
1
star
78

hyparrows

A JavaScript library that uses arrows to visually connect hyperlinks within a page
TypeScript
1
star
79

mac-key_code

A key code library for mac
Ruby
1
star
80

cemedine

A Go library to build subcommand for executable
Go
1
star
81

networkawesome-urllist

http://networkawesome-urllist.herokuapp.com
Ruby
1
star
82

cutagem_template

Ruby
1
star
83

aquel

Ruby
1
star
84

nihonbashi

A type-safe routing utility
JavaScript
1
star
85

gulp-fcsh

A gulp plugin for fcsh(the Flex compiler shell)
JavaScript
1
star
86

capybara-grope

Capybara driver for grope
Ruby
1
star
87

aquel-sequel

Ruby
1
star
88

aaa

1
star
89

cloudfrontproxy

Ruby
1
star