{"id":30920762,"url":"https://github.com/sugarvoid/chawk","last_synced_at":"2025-09-10T01:50:48.873Z","repository":{"id":310759004,"uuid":"1033965513","full_name":"sugarvoid/chawk","owner":"sugarvoid","description":"A python wrapper of the blackboard api.","archived":false,"fork":false,"pushed_at":"2025-09-09T21:19:06.000Z","size":33,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-10T00:58:47.726Z","etag":null,"topics":["api-wrapper","blackboard","blackboard-ultra"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/chawk/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sugarvoid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-07T16:12:24.000Z","updated_at":"2025-09-09T21:19:09.000Z","dependencies_parsed_at":"2025-08-20T04:34:52.701Z","dependency_job_id":"ddcdac99-1ac9-4e5f-b907-2ad39537d979","html_url":"https://github.com/sugarvoid/chawk","commit_stats":null,"previous_names":["sugarvoid/chawk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sugarvoid/chawk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarvoid%2Fchawk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarvoid%2Fchawk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarvoid%2Fchawk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarvoid%2Fchawk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sugarvoid","download_url":"https://codeload.github.com/sugarvoid/chawk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarvoid%2Fchawk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274397789,"owners_count":25277400,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-wrapper","blackboard","blackboard-ultra"],"created_at":"2025-09-10T01:50:47.190Z","updated_at":"2025-09-10T01:50:48.859Z","avatar_url":"https://github.com/sugarvoid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chawk \nA python wrapper of the blackboard api to simplify admin tasks such as managing courses.  \n\n\u003e [!WARNING]  \n\u003e This project is a work in progress. \n\n# Setup \nYou will need to create an application to get the needed keys. You can request access to the Blackboard REST APIs through the [Developer Portal](https://developer.blackboard.com/).  \n\n\n# Example of using the library \n```python\n\nfrom chawk.blackboard_client import BlackboardClient\n\n\nbase_url = \"https://blackboard.xxxx.edu\"\nclient_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\nclient_secret = \"xxxxxxxxxxxxxxxxxxxxxxxxx\"\n\n# Create client\nclient = BlackboardClient(client_id, client_secret, base_url, \"example.log\")\n\n# Example usage\nprint(client.user.does_user_exist(\"00000_0\"))\nprint(client.course.does_course_exist(\"00000_1\"))\n\nclient.course.enroll_user(username=\"wilson1234\", course_id=\"math101213\", role=\"Student\")\n```\n\n# Current Functions  \n\n## User\n```python\n    create_user(username: str, f_name: str, l_name: str, email: str, password: str) -\u003e None\n    does_user_exist(username: str) -\u003e bool\n    update_email(username: str, email: str) -\u003e None\n    update_availability(username: str, availability: str) -\u003e None\n    update_data_source(username: str, data_source_id: str) -\u003e None\n    get_course_role(username: str, course_id: str) -\u003e str\n    add_institution_roles(username: str, roles: list) -\u003e None\n    get_enrollments(username: str) -\u003e list[Course]\n\n```\n\n## Course\n```python\n    add_child_course(course_id: str, child_id: str) -\u003e None\n    enroll_user(username: str, course_id: str, role: str = \"Student\") -\u003e None\n    does_course_exist(course_id: str) -\u003e bool\n    remove_user_from_course(username: str, course_id: str) -\u003e None\n    get_course_student_list(course_id: str) -\u003e list\n    create_empty_course(course_id: str, course_name: str) -\u003e None\n    copy_course_exact(master_id: str, copy_id: str) -\u003e None\n    delete_course(course_id: str) -\u003e None\n    change_user_availability(student_id: str, course_id: str, available: str = \"No\")\n    update_course_title(course_id: str, new_name: str) -\u003e None\n    update_course_term(course_id: str, term_id: str) -\u003e None\n    update_course_availability(course_id: str, availability: str) -\u003e None\n    rename_course(course_id: str, new_name: str) -\u003e None\n    get_users_in_course_by_role(course_id: str, role: str = \"\") -\u003e list[str]\n```\n\n## Discussion\n```markdown\n\n```\n\n## Gradebook\n```python\n    update_grade(course_id: str, column_id: str, username: str, new_value: str) -\u003e None\n    update_column_due_date(course_id: str, column_id: str, due_date: str) -\u003e None\n    create_gradebook_column(course_id: str, column_name: str, description: str, score: int) -\u003e None\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugarvoid%2Fchawk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsugarvoid%2Fchawk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugarvoid%2Fchawk/lists"}