Sha256: 62cd2d31f98130186d90ab1dcd9fdb0d87132fa51175b0ebfa84fdbbc8718dc0
Contents?: true
Size: 869 Bytes
Versions: 2
Compression:
Stored size: 869 Bytes
Contents
dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')) require File.join(dir, 'dribble') # puts "Find Player's Shots by name" # player = Dribble::Player.find_shots('simplebits') # puts player.inspect # # # puts # puts "Find Player's Profile" # player2 = Dribble::Player.profile('simplebits') # OR Dribble::Player.find('simplebits') # puts player.inspect # puts # puts "Find the shots that a specific Player is following" # player3 = Dribble::Player.following_shots('simplebits') # puts player3.inspect puts puts "Get a Player's Profile" player = Dribble::Player.find(1) puts player.inspect # puts # puts "Take this player and see what shots they are following" # following_shots = player.following # puts following_shots.inspect # puts # puts "Take this player and see what shots they've put up" # my_shots = player.shots # puts my_shots.inspect
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dribble-0.0.31 | examples/player.rb |
dribble-0.0.3 | examples/player.rb |