SitePoint Example Code - Vito Tardia - Full REST API