title: Start using Wunderlist SDK
body: <p>I am using Wunderlist SDK for a sample app that im developing for academic purposes.</p>
  
  <p>From the <a href="https://github.com/wunderlist/wunderlist.js" rel="nofollow">Wunderlist's docs</a> i have the following code working:</p>
  
  <pre><code>$(document).ready(function(){
     var WunderlistSDK = window.wunderlist.sdk;
     WunderlistAPI = new WunderlistSDK({
        'accessToken': access_token,
        'clientID': client_id
     });
  
     WunderlistAPI.initialized.done(function () {
         WunderlistAPI.http.lists.all().done(handleListData).fail(handleError);
     });
  
     function handleListData(data){
         $("#tasks").append("&lt;button onclick='lookup_tasks(" + data.id + ")'&gt;Search tasks for this list&lt;/button&gt;");
     }
  
     function handleError(error,event){
        alert("Error: "+ JSON.stringify(error));
     }
  });
  </code></pre>
  
  <p>I am confused on using the <a href="https://developer.wunderlist.com/documentation" rel="nofollow">the rest of the API</a> because i cant figure out how can i perform other requests using the REST API</p>
  
  <p>For instance if i want to search all tasks by a list_id i am trying the following but it wont work:</p>
  
  <pre><code>function lookup_tasks(list_id){
      $.get("http://a.wunderlist.com/api/v1/tasks",{list_id: list_id},function(data){
          alert(JSON.stringify(data));
      }); //Neither works passing the client_id and access_token as params
  }
  </code></pre>
  
  <p>Anyone knows what am i misunderstanding?</p>