如何与 Moodle REST 交互 API

How to Interact With Moodle REST API

所以我想构建像 moodleApp 这样带有 flutter 的移动应用程序,这样该应用程序只需从现有的 moodle 网络中获取 api, 那么,moodle是否提供API可以自由使用呢?或任何其他方式?

是的。 Moodle 提供 API

https://docs.moodle.org/dev/Core_APIs

https://docs.moodle.org/dev/Web_service_API_functions

https://docs.moodle.org/dev/Creating_a_web_service_client

Example : https://example.com/moodle/webservice/rest/server.php?wstoken=...&wsfunction=...&moodlewsrestformat=json