Skip to content

stursby/hyped

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
 
 
js
 
 
 
 
 
 
 
 
 
 

Hyped

Bitdeli Badge

Easily display your most recent loved songs from The Hype Machine - hypem.com.

Click here to see a demo.

Screenshot

Installation

via Bower

$ bower install hyped

Manually

Make sure to include both jQuery and jquery.hyped.js.

<script src="path.to.jQuery"></script>
<script src="path.to.jquery.hyped.js"></script>

Options

  • username : string Your Hypem username - Required
  • count : integer Number of songs to return - Default: 5
  • artwork : boolean Display album artwork - Default : true
  • thumbSize : string What size album artwork to show - Default : medium
    • small : 50x50 px
    • medium : 120x120 px
    • large : 320x320 px
  • linked : boolean Wrap song info in a clickable link - Default : false
  • loveCount : boolean Display track love count - Default : false

Example

HTML

<div class="hyped">
	// Optional loading message / spinner
	<div class="loading"></div>
</div>

JavaScript

$(".hyped").hyped({
	username : "stursby",
	linked : true,
  	count : 5,
  	loveCount : true
});

License

Hyped is licensed MIT


Copyright (c) 2013 Charlie Hield

About

Display your latest loved songs from The Hype Machine (hypem.com).

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published