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

查看:94
本文介绍了是否可以让我的应用程序与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%知道那是什么意思.自从我与API(如OpenWeatherMap one和uTorrent)进行通信以来,这很奇怪.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_services https://docs.moodle.org/32/en/Using_web_services https://docs.moodle.org/dev/Web_service_API_functions

这些文档可能对您很有趣.

These docs might be interesting for you.

除了现有的Web服务方法之外,您还可以创建自己的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天全站免登陆