udemy

This is the official repository for the package on the pypi.org

View on GitHub

Welcome

This repository provides you with a simple interface to interact with the Udemy API.

All you need to do is:

You can either set the udemyClientID and udemyClientSecret environment variable or specify them as keyword arguments. All the API functions are supported with additional query parameters

Example

In order to use the os environment variable defined clientID and clientSecret

from udemy import *
Client = PyUdemy()
Client.get_publiccurriculumlist(courseID = "1967128",page=1)

In order to specify as keyword argument the cliendID and clientSecret

from udemy import *
Client = PyUdemy(clientID = '<clientID>', clientSecret = '<clientSecret>')
Client.get_courseslist()