I've developed a gradebook report that displays the completion status for each course's sections (by aggregating grades/views/etc.). Since I'm wrapping Moodle inside an installation of Joomla, I want to provide my Joomla users with a quick snapshot of that status (on the home page), so they can know where they are, and what topic they need to dive into next.
I know there are web service APIs I can develop, but it appears that they are only supposed to be attached to modules. Well, my report aggregates results from various modules, so it's in the /grade/report/completion/ folder. The API documentation says it's a big no-no to put XMLRPC (rpclib.php) files anywhere other than in /mod/*/, so I'm wondering where I need to go from here.
Or, perhaps I'm going about this all wrong, and there is already a feature I have overlooked that will provide me with this data.
Either way, I'd be extremely grateful for any assistance,
I would just ignore the XMLRPC framework, and put a script inside your plugin that handles web service calls directly, but I don't really know much about the web service stuff, so that might be too simplistic.