是否可以让我的应用与 Moodle 通信? [英] Is it possible to have my app communicate with moodle?

查看:26
本文介绍了是否可以让我的应用与 Moodle 通信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑构建一个学生应用程序,该应用程序将使用 Moodle 数据,并在新文件上传时通知用户,并且可能执行诸如检查成绩等操作.

I am thinking about building a student app, that would use Moodle data, and notify the user when a new file has been uploaded, and perhaps do something like checking your grades etc.

我对 android 编程很陌生,很容易与技术术语混淆.我环顾了网络,发现有一个 API,但我真的 100% 不知道这意味着什么.这很奇怪,因为我已经与 OpenWeatherMap one 和 uTorrent 等 API 进行了交流.Moodle 的 api 也会这样做吗?让我更容易获取他们的数据?他们的描述非常技术性,我无法理解.

I'm quite new to android programming and can get easily confused with the technical terms. I've looked around the web and found that there is an API, but I dont really 100% know what that means. Which is weird since I've communicated with API's like the OpenWeatherMap one and uTorrent. Would Moodle's api do the same? Make it easier for me to get their data? Their descriptions are really technical and I can not understand much.

推荐答案

请注意,moodle 中的API"不会像您用来通信的那样自动引用网络服务.

Please note that "API" in moodle does not automatically refer to webservices like you are used to communicate with.

参见https://docs.moodle.org/32/en/Mobile_web_serviceshttps://docs.moodle.org/32/en/Using_web_serviceshttps://docs.moodle.org/dev/Web_service_API_functions

您可能会对这些文档感兴趣.

These docs might be interesting for you.

除了现有的webservice方法,你还可以创建自己的moodle插件,提供所需的方法,一些信息可以在这里找到https://docs.moodle.org/dev/Adding_a_web_service_to_a_plugin

Beside the existing webservice methods, you can also create your own moodle plugin, which provides the methods required, some info can be found here https://docs.moodle.org/dev/Adding_a_web_service_to_a_plugin

这篇关于是否可以让我的应用与 Moodle 通信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆