Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploading courses to scorm cloud missing #3

Open
iainctduncan opened this issue Dec 25, 2015 · 0 comments
Open

uploading courses to scorm cloud missing #3

iainctduncan opened this issue Dec 25, 2015 · 0 comments

Comments

@iainctduncan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant