Class: Dribble::API::Player
Class Method Summary collapse
-
.draftees(id, options = {}) ⇒ Hash
Followers.
-
.find_shots(id, options = {}) ⇒ Hash
Find shots for a given player.
-
.followers(id, options = {}) ⇒ Hash
Followers.
-
.following_shots(id, options = {}) ⇒ Hash
Following Shots.
-
.profile(id) ⇒ Hash
Profile.
Class Method Details
.draftees(id, options = {}) ⇒ Hash
Followers
62 63 64 |
# File 'lib/dribble/api/player.rb', line 62 def draftees(id, ={}) Dribble::Request.get("/players/#{id}/draftees", ()) end |
.find_shots(id, options = {}) ⇒ Hash
Find shots for a given player
13 14 15 |
# File 'lib/dribble/api/player.rb', line 13 def find_shots(id, ={}) Dribble::Request.get("/players/#{id}/shots", ()) end |
.followers(id, options = {}) ⇒ Hash
Followers
49 50 51 |
# File 'lib/dribble/api/player.rb', line 49 def followers(id, ={}) Dribble::Request.get("/players/#{id}/followers", ()) end |