{"id":37415951,"url":"https://github.com/jeremyephron/explore-courses-api","last_synced_at":"2026-01-16T06:01:35.279Z","repository":{"id":57427697,"uuid":"139323376","full_name":"jeremyephron/explore-courses-api","owner":"jeremyephron","description":"A Python API for Stanford's Explore Courses","archived":false,"fork":false,"pushed_at":"2021-04-24T19:01:34.000Z","size":25,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-01-14T12:24:00.593Z","etag":null,"topics":["api","python","python3","stanford-university"],"latest_commit_sha":null,"homepage":null,"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/jeremyephron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"jeremyephron"}},"created_at":"2018-07-01T11:28:07.000Z","updated_at":"2025-08-27T23:16:14.000Z","dependencies_parsed_at":"2022-09-09T08:40:38.218Z","dependency_job_id":null,"html_url":"https://github.com/jeremyephron/explore-courses-api","commit_stats":null,"previous_names":["illiteratecoder/explore-courses-api"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jeremyephron/explore-courses-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyephron%2Fexplore-courses-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyephron%2Fexplore-courses-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyephron%2Fexplore-courses-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyephron%2Fexplore-courses-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremyephron","download_url":"https://codeload.github.com/jeremyephron/explore-courses-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyephron%2Fexplore-courses-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: 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","python","python3","stanford-university"],"created_at":"2026-01-16T06:00:45.212Z","updated_at":"2026-01-16T06:01:35.160Z","avatar_url":"https://github.com/jeremyephron.png","language":"Python","funding_links":["https://github.com/sponsors/jeremyephron"],"categories":[],"sub_categories":[],"readme":"# Stanford Explore Courses Python API #\n\nThis package is a Python API for Stanford's Explore Courses site, which enables users to search through Stanford's catalog of over **13,000 courses**.\n\n## Installation ##\nType the following command in terminal to install:\n\n`pip install explorecourses`\n\n## Usage ##\nImport the package's classes into your Python program:\n\n`from explorecourses import *`\n\nImport the filters module if you would like to use search filters:\n\n`from explorecourses import filters`\n\nCreate a new CourseConnection:\n\n`connect = CourseConnection()`\n\nQuery the Explore Courses database by department code:\n\n`courses = connect.get_courses_by_department(\"MATH\", year=\"2017-2018\")`\n\nApply filters to your query:\n\n`courses = connect.get_courses_by_query(\"all courses\", filters.AUTUMN, filters.WAY_AII)`\n\n## Sample Program ##\n```python\nfrom explorecourses import *\nfrom explorecourses import filters\n\nconnect = CourseConnection()\n\n# Print out all courses for 2017-2018.\nyear = \"2017-2018\"\nfor school in connect.get_schools(year):\n    for dept in school.departments:\n        courses = connect.get_courses_by_department(dept.code, year=year)\n        for course in courses:\n            print(course)\n\n```\n\n\n## Thanks ##\nThanks to Jim Sproch who wrote Stanford's Explore Courses Java API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyephron%2Fexplore-courses-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremyephron%2Fexplore-courses-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyephron%2Fexplore-courses-api/lists"}