تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

moodle-ws-skill

بواسطة exeandino

Web & Frontend Development
476التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Integrar con Moodle 4.x usando Web Services REST.

الوصف

ما الذي تفعله هذه المهارة

Connects to Moodle 4.x via its REST Web Services API. Handles course creation, user enrollment, activity management (quizzes, assignments, forums), grade submission, and roster retrieval. Requires a Moodle Web Service token with appropriate capabilities.

Using the REST API avoids manual admin UI work and enables batch operations that would otherwise require clicking through Moodle's interface one record at a time.

متى تستخدمها

  • Create a new course and enroll a batch of students
  • Remove a student from a course mid-semester
  • Add a quiz or assignment to an existing course
  • Submit grades for a group of learners
  • List all students enrolled in a specific course

مثال على سير العمل

الإدخال

User asks: Create a course called 'Introduction to Python' and enroll three students with IDs 101, 102, 103

الوكيل
  1. 1

    Reads Moodle base URL and token from local config file

  2. 2

    Calls core_course_create_courses with the course name and category

  3. 3

    Retrieves the new course ID from the response

  4. 4

    Calls enrol_manual_enrol_users with the course ID and student IDs 101, 102, 103

الإخراج

Course created with ID 42, three students enrolled successfully

المتطلبات

  • Moodle base URL (e.g. https://moodle.example.com)
  • Moodle Web Service token with capabilities for course creation, enrollment, activity management, and grade management

التثبيت

clawhub install exeandino/moodle-ws-skill

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط