Posting Tracks from Soundcloud API

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

Posting Tracks from Soundcloud API

Post by invisibled »

Hey there, i'm trying to list out all of my tracks with the soundcloud php wrapper. I have this so far

Code: Select all

// Include class
					require "lib/inc/Soundcloud.php";

					// Create Object
					$soundcloud = new Services_Soundcloud('id goes here', 'callback url');
					
					$soundcloud->get('tracks');	
so that works fine, the object returns tracks in array form, so where i am stuck is, how do i throw that in a loop and start outputting that data?

Any info will greatly help! :) thanks
Post Reply