title: Create Moodle course dynamically using API
body: <p>I have been asked  to create an engine that will take a course(name, short-name, category) from our local database and add it to moodle.</p>
  
  <p>I am thinking of using Moodle API for this.</p>
  
  <p>I tried using the webservice with no luck.</p>
  
  <p>I need something like :</p>
  
  <pre><code>moodle_create_course($name, $short-name, $description, $category, $type)
  </code></pre>
  
  <p>Does anyone has an input? </p>