{"id":25480667,"url":"https://github.com/hudsonbrendon/pyudemy","last_synced_at":"2025-04-06T04:08:57.909Z","repository":{"id":29702009,"uuid":"121053742","full_name":"hudsonbrendon/pyudemy","owner":"hudsonbrendon","description":"Simple integrate of API udemy.com with python","archived":false,"fork":false,"pushed_at":"2025-03-24T20:28:38.000Z","size":268,"stargazers_count":40,"open_issues_count":0,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-30T03:03:11.229Z","etag":null,"topics":["api","python","udemy","wrapper"],"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/hudsonbrendon.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":"2018-02-10T20:58:39.000Z","updated_at":"2025-03-24T20:28:36.000Z","dependencies_parsed_at":"2023-01-14T15:29:31.285Z","dependency_job_id":"f882cda6-2850-4a11-8cc4-115ea91091d4","html_url":"https://github.com/hudsonbrendon/pyudemy","commit_stats":{"total_commits":39,"total_committers":3,"mean_commits":13.0,"dds":0.1282051282051282,"last_synced_commit":"acb881bb6638301355cd761070235f9270351a0d"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hudsonbrendon%2Fpyudemy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hudsonbrendon%2Fpyudemy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hudsonbrendon%2Fpyudemy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hudsonbrendon%2Fpyudemy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hudsonbrendon","download_url":"https://codeload.github.com/hudsonbrendon/pyudemy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430868,"owners_count":20937874,"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":["api","python","udemy","wrapper"],"created_at":"2025-02-18T15:56:27.333Z","updated_at":"2025-04-06T04:08:57.880Z","avatar_url":"https://github.com/hudsonbrendon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pyudemy\n\n[![Python package](https://github.com/hudsonbrendon/pyudemy/actions/workflows/pythonpackage.yml/badge.svg)](https://github.com/hudsonbrendon/pyudemy/actions/workflows/pythonpackage.yml)\n[![Github Issues](http://img.shields.io/github/issues/hudsonbrendon/pyudemy.svg?style=flat)](https://github.com/hudsonbrendon/pyudemy/issues?sort=updated\u0026state=open)\n![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)\n\nSimple integrate of API udemy.com with python\n\n\n# NOTICE\n\n**Access to the Affiliate API on Udemy has been discontinued as of January 1, 2025. To access the Affiliate API, please see our instructions on how to join the [Udemy Affiliate Program](https://partnersupport.udemy.com/hc/en-us/articles/360048655014-How-do-I-Join-the-Udemy-Affiliate-Program/).**\n\n# Quick start\n\n```bash\n$ pip install pyudemy\n```\n# Authentication\n\nTo make any calls to Udemy REST API, you will need to create an API client. API client consists of a bearer token, which is connected to a user account on Udemy.\n\nIf you want to create an API client, [Sign up on udemy.com](https://www.udemy.com/join/) and go to API Clients page in your user profile. Once your API client request is approved, your newly created [API client](https://www.udemy.com/user/edit-api-clients/) will be active and your bearer token will be visible on [API Clients](https://www.udemy.com/user/edit-api-clients/) page.\n\n# Usage\n\nWith your key in hand, it's time to authenticate, so run:\n\n```python\n\u003e\u003e\u003e from pyudemy import Udemy\n\n\u003e\u003e\u003e udemy = UdemyAffiliate(\u003cCLIENT_ID\u003e, \u003cCLIENT_SECRET\u003e)\n```\n\n# Courses\n\nReturns list of courses.\n\nTo see the list of accepted parameters go to:\n[https://www.udemy.com/developers/methods/get-courses-list/](https://www.udemy.com/developers/methods/get-courses-list/)\n\n```python\n\u003e\u003e\u003e udemy.courses()\n```\nor\n\n```python\n\u003e\u003e\u003e udemy.courses(page=1, page_size=1, ...)\n```\n\n# Course detail\n\nReturns course with specified id.\n\nTo see the list of accepted parameters go to:\n[https://www.udemy.com/developers/methods/get-courses-detail/](https://www.udemy.com/developers/methods/get-courses-detail/)\n\n```python\n\u003e\u003e\u003e udemy.course_detail(\u003cid\u003e)\n```\n\n# Public curriculum\n\nReturns list of curriculum items.\n\nTo see the list of accepted parameters go to:\n[https://www.udemy.com/developers/methods/get-publiccurriculum-list/](https://www.udemy.com/developers/methods/get-publiccurriculum-list/)\n\n```python\n\u003e\u003e\u003e udemy.public_curriculum(\u003cid\u003e)\n```\nor\n\n```python\n\u003e\u003e\u003e udemy.public_curriculum(\u003cid\u003e, page=1, page_size=1)\n```\n\n# Course reviews\n\nReturns list of curriculum items.\n\nTo see the list of accepted parameters go to:\n[https://www.udemy.com/developers/methods/get-coursereviews-list/](https://www.udemy.com/developers/methods/get-coursereviews-list/)\n\n```python\n\u003e\u003e\u003e udemy.course_reviews(\u003cid\u003e)\n```\nor\n\n```python\n\u003e\u003e\u003e udemy.course_reviews(\u003cid\u003e, page=1, page_size=1)\n```\n# Controlling return Data\n\nYou can now control the return data from the API using a list of dictionaries passed under a parameter called \"fields\".\n![image](https://user-images.githubusercontent.com/33434582/160966081-b1f67fe2-48db-45d1-b102-95ef90e7c0cb.png)\n\n\nFor more info check Use of Fields and Field Lists at https://www.udemy.com/developers/affiliate/\n\n# License\n\n[MIT](http://en.wikipedia.org/wiki/MIT_License)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhudsonbrendon%2Fpyudemy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhudsonbrendon%2Fpyudemy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhudsonbrendon%2Fpyudemy/lists"}