SCORMCloud_PythonLibrary icon indicating copy to clipboard operation
SCORMCloud_PythonLibrary copied to clipboard

uploading courses to scorm cloud missing

Open iainctduncan opened this issue 8 years ago • 0 comments

I could be off base here, but It appears that uploading courses to scorm cloud was never completed. This doc leads me to believe it's possible: http://cloud.scorm.com/doc/web-services/api.html#rustici.course.importCourse

But the python client's import_uploaded_course method does not upload courses. It looks like this is the culprit here, and unfinished todo and no files get added to the post url. I got here tracing back from the calls in import_uploaded_course

def call_service(self, method, serviceurl=None): """ Calls the specified web service method using any parameters set on the ServiceRequest. Arguments: method -- the full name of the web service method to call. For example: rustici.registration.createRegistration serviceurl -- (optional) used to override the service host URL for a single call """ postparams = None #if self.file_ is not None: # TODO: Implement file upload url = self.construct_url(method, serviceurl) rawresponse = self.send_post(url, postparams) response = self.get_xml(rawresponse) return response

iainctduncan avatar Dec 25 '15 01:12 iainctduncan