Sample code for assignr.com API using PHP