Skip to content
ekdevdes edited this page Jul 13, 2012 · 4 revisions

#Setup & Usage

Setup

<?php

 include_once 'bbball.php';

 $dribbble = new BBBall;

Usage

<?php
 // fetch page 2
 $dribbble->page = 2;

 // …and lets get 20 shots per page
 $dribbble->per_page = 20;

 // get shots 
 $shots = $dribbble->get_shots();

 // get a shot
 $shot = $dribbble->get_shot(43424);

 // get a player's info
 $player_info = $dribbble->get_player_info('ethankr');

 // get only a shot's rebounds
 $rebounds = $dribbble->get_shot_rebounds(43424);

 // get only a shot's comments
 $comments = $dribbble->get_shot_comments(43424);

Previous « Installation

Next » Documentation

Clone this wiki locally