{"id":24617862,"url":"https://github.com/jacoblincool/moodle-api","last_synced_at":"2025-03-18T21:27:54.964Z","repository":{"id":195778154,"uuid":"693608746","full_name":"JacobLinCool/moodle-api","owner":"JacobLinCool","description":"The easiest way to use the Moodle API with fully typed parameters and responses.","archived":false,"fork":false,"pushed_at":"2025-01-23T19:13:14.000Z","size":3259,"stargazers_count":4,"open_issues_count":11,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-15T09:07:42.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://jacoblin.cool/moodle-api/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JacobLinCool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-19T11:13:36.000Z","updated_at":"2024-12-15T13:27:02.000Z","dependencies_parsed_at":"2024-01-10T18:43:27.832Z","dependency_job_id":"ce21f73c-3405-4881-9bca-4958d458ed9d","html_url":"https://github.com/JacobLinCool/moodle-api","commit_stats":null,"previous_names":["jacoblincool/moodle-api"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fmoodle-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fmoodle-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fmoodle-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fmoodle-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JacobLinCool","download_url":"https://codeload.github.com/JacobLinCool/moodle-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244308930,"owners_count":20432286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-01-24T23:41:23.693Z","updated_at":"2025-03-18T21:27:54.926Z","avatar_url":"https://github.com/JacobLinCool.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moodle API\n\nThe easiest way to use the Moodle API with fully typed parameters and responses.\n\n## Example\n\n![Auto Completion](https://raw.githubusercontent.com/JacobLinCool/moodle-api/main/images/auto-completion.gif)\n\n```ts\nimport { MoodleClient, login } from \"moodle-api\";\n\nconst token = await login(\n    process.env.MOODLE_URL,\n    process.env.MOODLE_USERNAME,\n    process.env.MOODLE_PASSWORD,\n);\n\nconst client = new MoodleClient(process.env.MOODLE_URL, token);\nconst info = await client.call(\"core_webservice_get_site_info\");\nconsole.log(\"Supported Functions:\", info.functions.map(f =\u003e f.name));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblincool%2Fmoodle-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacoblincool%2Fmoodle-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblincool%2Fmoodle-api/lists"}