topical media & game development

talk show tell print

mashup-delicious-07-delicious-summary2-api-test.php / php



  <?php
  
  //define the delicious account information we need
  define('DELICIOUS_USERNAME','username');
  define('DELICIOUS_PASSWORD','password');
  
  //bring in Snoopy goodness
  include('lib/Snoopy.class.php');
  
  //bring in the del.icio.us Mashups PHP library we will make
  include('lib/delicious_mashups.inc.php');
  
  //an do_api_call() test
  do_api_call("/posts/recent?","&tag=php&count=10");
  
  //print the output
  echo "<pre>";
  echo print_r(api_return);
  echo "</pre>";
  
  ?>


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.