Sha256: b01fa31c2e4da551cf9557e923e78041cecc850b0e75a34068e003ec2a657d5a

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

dir = File.expand_path(File.join(File.dirname(__FILE__), '../..', 'lib'))
require File.join(dir, 'dribble')

# puts "Find Player's Shots by name"
# puts Dribble::API::Player.find('simplebits').inspect

# puts
# puts "Find Player's Profile"
# player = Dribble::API::Player.profile('simplebits')
# puts player

# puts
# puts "Find all the shots a player is following"
# puts Dribble::API::Player.following_shots('simplebits').inspect


puts
puts "Find Player's Followers"
player = Dribble::API::Player.followers('simplebits')
puts player.inspect


puts
puts "Find Player's Draftees"
player = Dribble::API::Player.draftees('simplebits')
puts player.inspect

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dribble-0.1.0 examples/barebones/player.rb