{"id":38762321,"url":"https://github.com/zaddok/moodle","last_synced_at":"2026-01-17T11:58:20.839Z","repository":{"id":57480582,"uuid":"122701179","full_name":"zaddok/moodle","owner":"zaddok","description":"Golang Moodle Api","archived":false,"fork":false,"pushed_at":"2024-03-21T07:24:30.000Z","size":100,"stargazers_count":15,"open_issues_count":1,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T00:33:08.206Z","etag":null,"topics":["api","golang","moodle","moodle-api","moodleapi"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zaddok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-24T03:54:34.000Z","updated_at":"2024-03-21T12:45:19.000Z","dependencies_parsed_at":"2022-09-26T17:41:17.389Z","dependency_job_id":null,"html_url":"https://github.com/zaddok/moodle","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/zaddok/moodle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaddok%2Fmoodle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaddok%2Fmoodle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaddok%2Fmoodle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaddok%2Fmoodle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaddok","download_url":"https://codeload.github.com/zaddok/moodle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaddok%2Fmoodle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","golang","moodle","moodle-api","moodleapi"],"created_at":"2026-01-17T11:58:20.199Z","updated_at":"2026-01-17T11:58:20.772Z","avatar_url":"https://github.com/zaddok.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moodle API for Golang\n\nThis is a simple Moodle API that wraps the Moodle JSON Web Service API. \nIt is part of a project that is currently in use in a live production environment, and\nis under active development.\n\nIt was developed in a hurry, no warranty is given or implied. Use at your own risk. Pull requests welcome.\n\n\n## Example usage\n\n\t// Setup\n\tapi := moodle.NewMoodleApi(\"https://moodle.example.com/moodle/\", \"a0092ba9a9f5b45cdd2f01d049595bfe91\", l)\n\n\t// Search moodle courses\n\tcourses, _ := api.GetCourses(\"History\")\n\tif courses != nil {\n\t\tfor _, i := range *courses {\n\t\t\tfmt.Printf(\"%s\\n\", i.Code)\n\t\t}\n\t}\n\n\t// Search users\t\n\tpeople, err := api.GetPeopleByAttribute(\"email\", \"%\")\n\tif err != nil {\n\t\tl.Error(\"%v\", err)\n\t\treturn\n\t}\n\tfmt.Println(\"People:\")\n\tfor _, p := range *people {\n\t\t// Do something\n\t}\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaddok%2Fmoodle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaddok%2Fmoodle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaddok%2Fmoodle/lists"}