In this repository you'll find a sample php file that utilizes the moodle.php class file I created. This will allow you to create a course into Moodle using the Moodle API. It will also allow you to obtain a student ID, course ID, and a function to create a user in Moodle.