Skip to content

Instantly share code, notes, and snippets.

@hrp
Created November 26, 2011 07:18
Show Gist options
  • Select an option

  • Save hrp/1395222 to your computer and use it in GitHub Desktop.

Select an option

Save hrp/1395222 to your computer and use it in GitHub Desktop.
api explorations - nhl
HTTParty
nhl videos / goals / hits / players / game results
base_uri: video.nhl.com/videocenter
get_games_in_month:
/highlights
xml = 0
month = 4
year = 2009
goals/hits in a game:
/highlights
number= game id
season = 20092010
type = 2 (regular season?)
xml = 1
player profile:
id = player id
pn = page number
ps = 9 page size
xml = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment