Skip to main content

Pyudemy

Python package Github Issues MIT licensed

Simple integrate of API udemy.com with python

Quick start

$ pip install pyudemy

Authentication

To 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.

If you want to create an API client, Sign up on udemy.com and go to API Clients page in your user profile. Once your API client request is approved, your newly created API client will be active and your bearer token will be visible on API Clients page.

Usage

With your key in hand, it's time to authenticate, so run:

>>> from pyudemy import Udemy

>>> udemy = UdemyAffiliate(<CLIENT_ID>, <CLIENT_SECRET>)

Courses

Returns list of courses.

To see the list of accepted parameters go to: https://www.udemy.com/developers/methods/get-courses-list/

>>> udemy.courses()

or

>>> udemy.courses(page=1, page_size=1, ...)

Course detail

Returns course with specified id.

To see the list of accepted parameters go to: https://www.udemy.com/developers/methods/get-courses-detail/

>>> udemy.course_detail(<id>)

Public curriculum

Returns list of curriculum items.

To see the list of accepted parameters go to: https://www.udemy.com/developers/methods/get-publiccurriculum-list/

>>> udemy.public_curriculum(<id>)

or

>>> udemy.public_curriculum(<id>, page=1, page_size=1)

Course reviews

Returns list of curriculum items.

To see the list of accepted parameters go to: https://www.udemy.com/developers/methods/get-coursereviews-list/

>>> udemy.course_reviews(<id>)

or

>>> udemy.course_reviews(<id>, page=1, page_size=1)

Controlling return Data

You can now control the return data from the API using a list of dictionaries passed under a parameter called "fields". image

For more info check Use of Fields and Field Lists at https://www.udemy.com/developers/affiliate/

License

MIT

Release files for pyudemy 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyudemy 1.1.1
File Size Uploaded
pyudemy-1.1.1.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyudemy 1.1.1
File Interpreter ABI Platform
pyudemy-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / pyudemy-1.1.1.tar.gz

Download URL pyudemy-1.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8210a9bec4225c8f11671506da3f70e3aacb26aa7d0afe2f6786ac2ddc921271
BLAKE2b-256 checksum
How to use checksums
4da602c5bcb2b715297621433ad0636e69acd2556a9b8b598b961492f2b7f5e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.12.8 Linux/6.5.0-1025-azure

Release files / pyudemy-1.1.1-py3-none-any.whl

Download URL pyudemy-1.1.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d841c61f05f6ed414a1bd8aa792be17c4f41a1a237106fe721403161fa12228b
BLAKE2b-256 checksum
How to use checksums
2a13cbcfdce8e0d93a35198e11c6fbccfb259263b399d51c57813873cce07319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.12.8 Linux/6.5.0-1025-azure

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.1

2 release files

1.0.0

3 release files

0.3

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page