delannoyk / SoundcloudSDK

A Client for Soundcloud's API written in Swift!
MIT License
87 stars 27 forks source link

How to get a user's stream/timeline? #18

Closed optikfluffel closed 8 years ago

optikfluffel commented 8 years ago

Is there any example on how to get the currently authenticated user's stream/timeline?

delannoyk commented 8 years ago
  1. Get a session (either from a new login or from the cached session):

    Session.login(...) { response in
    }

    or

    let session = Soundcloud.session
  2. Load activities:

    session.activities { paginatedResponse in
    }
delannoyk commented 8 years ago

Code for this is here.