Fetching certificate file

Fetching certificate file

by Cooperativa Itaca -
Number of replies: 1

Good day all,

first of all we wanted to thank everybody involved in this great plugin.

Secondly, we're using Custom_certificate_module and we're trying to download course certificates through the API. We would like to iterate through a course's issued certificates and determine the URL of the certificate so that we can download each using an http agent or such.

As of now, we successfully use the api to get courses, participants and completions, so we know which participants have valid certificates, but we can't figure how to 'access' the certificate pdf urls (the files themselves are generated on-the-fly, aren't they?).

We've noticed that there is the 
mod_certificate_get_issued_certificates

api function, but it only works with the user token that makes the call.

What would be the better solution to this problem? 

Thanks in advance.

Average of ratings: -