Simple integrate of API udemy.com with python

Overview

Pyudemy

Build Status Github Issues MIT licensed

Simple integrate of API udemy.com with python

Logo

Quick start

$ pip install pyudemy

or

$ python setup.py install

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 = Udemy(<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)

Dependencies

License

MIT

You might also like...
WhatsApp Api Python - This documentation aims to exemplify the use of Moorse Whatsapp API in Python
WhatsApp Api Python - This documentation aims to exemplify the use of Moorse Whatsapp API in Python

WhatsApp API Python ChatBot Este repositório contém uma aplicação que se utiliza

Official python API for Phish.AI public and private API to detect zero-day phishing websites

phish-ai-api Summary Official python API for Phish.AI public and private API to detect zero-day phishing websites How it Works (TLDR) Essentially we h

Python API wrapper around Trello's API

A wrapper around the Trello API written in Python. Each Trello object is represented by a corresponding Python object. The attributes of these objects

A python to scratch API connector. Can fetch data from the API and send it back in cloud variables.

Scratch2py Scratch2py or S2py is a easy to use, versatile tool to communicate with the Scratch API Based of scratchclient by Raihan142857 Installation

Async ready API wrapper for Revolt API written in Python.

Mutiny Async ready API wrapper for Revolt API written in Python. Installation Python 3.9 or higher is required To install the library, you can just ru

🚀 An asynchronous python API wrapper meant to replace discord.py - Snappy discord api wrapper written with aiohttp & websockets

Pincer An asynchronous python API wrapper meant to replace discord.py ❗ The package is currently within the planning phase 📌 Links |Join the discord

wyscoutapi is an extremely basic API client for the Wyscout API (v2 & v3) for Python

wyscoutapi wyscoutapi is an extremely basic API client for the Wyscout API (v2 & v3). Usage Install with pip install wyscoutapi. To connect to the Wys

Beyonic API Python official client library simplified examples using Flask, Django and Fast API.
Beyonic API Python official client library simplified examples using Flask, Django and Fast API.

Beyonic API Python official client library simplified examples using Flask, Django and Fast API.

A Python API wrapper for the Twitter API!

PyTweet PyTweet is an api wrapper made for twitter using twitter's api version 2! Installation Windows py3 -m pip install PyTweet Linux python -m pip

Comments
  • pyudemy not getting imported

    pyudemy not getting imported

    For making request to udemy REST API. I tried installing pyudemy using following command in Anaconda Powershell.

    pip install pyudemy

    Though it is installed successfully. It is showing ModuleNotFoundError, When I try to execute following command.

    from pyudemy import Udemy

    image

    When tried, looking for file structure of pyudemy in site-packages folder. I found one anomaly.

    • I did not find any explicit folder for pytube.

    image

    It might be the issue. Can anyone help me out, to get that particular folder.

    opened by Akash-Jariwala 0
  • Hi guys, been playing with the API and took the liberty of sloppily adding some functionality and fixing some bug.

    Hi guys, been playing with the API and took the liberty of sloppily adding some functionality and fixing some bug.

    So essentially there was a bug in the category and subcategory parameters that could be passed to the courses function - '&' was not supported in the value passed and would not return any data. This is now fixed.

    Also, I added the functionality to control the level of return data through a fields parameter, pretty much as is described at https://www.udemy.com/developers/affiliate/ under "Use of Fields and Field Lists"

    Nice work guys, saved me a lot of time.

    If you can see any way to clearly clean up my logic a little I'd appreciate it!

    opened by JamMassey 0
  • Assigning parameters issue

    Assigning parameters issue

    It has a bug when we assign a category which has "&" in it such as Finance & Accounting, Health & Fitness, IT & Software. These categories are genuine & mentioned in https://www.udemy.com/developers/affiliate/models/course-category/

    Hope we can fix this bug

    opened by utkarshsharma1 0
  • Bump certifi from 2022.6.15 to 2022.12.7

    Bump certifi from 2022.6.15 to 2022.12.7

    Bumps certifi from 2022.6.15 to 2022.12.7.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
Releases(v1.0.4)
  • v1.0.4(Apr 23, 2022)

  • v1.0.3(Apr 23, 2022)

    What's Changed

    • Hi guys, been playing with the API and took the liberty of sloppily adding some functionality and fixing some bug. by @JamMassey in https://github.com/hudsonbrendon/pyudemy/pull/13
    • Develop by @hudsonbrendon in https://github.com/hudsonbrendon/pyudemy/pull/14

    New Contributors

    • @JamMassey made their first contribution in https://github.com/hudsonbrendon/pyudemy/pull/13

    Full Changelog: https://github.com/hudsonbrendon/pyudemy/compare/1.0.1...v1.0.3

    Source code(tar.gz)
    Source code(zip)
  • v1.0.2(Apr 23, 2022)

    What's Changed

    • Hi guys, been playing with the API and took the liberty of sloppily adding some functionality and fixing some bug. by @JamMassey in https://github.com/hudsonbrendon/pyudemy/pull/13
    • Develop by @hudsonbrendon in https://github.com/hudsonbrendon/pyudemy/pull/14

    New Contributors

    • @JamMassey made their first contribution in https://github.com/hudsonbrendon/pyudemy/pull/13

    Full Changelog: https://github.com/hudsonbrendon/pyudemy/compare/1.0.1...v1.0.2

    Source code(tar.gz)
    Source code(zip)
Owner
Hudson Brendon
Backend Engineer
Hudson Brendon
A simple Python library to integrate with the Heron Data API

Heron Python This library provides easy access to the Heron Data API from applications written in Python. Documentation No language-specific docs are

Heron Data 11 Nov 11, 2022
A python bot that scrapes free udemy coupons and sends them to Telegram.

About: A python telegram bot that scrapes information about fresh free Udemy coupons content from couponscorpion.com and sends it to teleram channel h

Irina Gayday 1 Dec 19, 2021
Paid Udemy Courses with Coupons

Freedemy Paid Udemy Courses with Coupons Steps to run pip3 install -r requirements.txt python3 free-courses.py Then you can click the Enroll Link and

GOKUL A.P 23 Dec 14, 2022
Simulation artifacts, core components and configuration files to integrate AWS DeepRacer device with ROS Navigation stack.

AWS DeepRacer Overview The AWS DeepRacer Evo vehicle is a 1/18th scale Wi-Fi enabled 4-wheel ackermann steering platform that features two RGB cameras

AWS DeepRacer 31 Nov 21, 2022
Ts-matterbridge - Integrate TeamSpeak Chat with MatterBridge

TeamSpeak-MatterBridge Bot You can use this bot to integrate TeamSpeak Chat with

null 4 Sep 25, 2022
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
A simple Python API wrapper for Cloudflare Stream's API.

python-cloudflare-stream A basic Python API wrapper for working with Cloudflare Stream. Arbington.com started off using Cloudflare Stream. We used the

Arbington 3 Sep 8, 2022
A simple API wrapper for the Tenor API

Gifpy A simple API wrapper for the Tenor API Installation Python 3.9 or higher is recommended python3 -m pip install gifpy Clone repository: $ git cl

Juan Ignacio Battiston 4 Dec 22, 2021
alpaca-trade-api-python is a python library for the Alpaca Commission Free Trading API.

alpaca-trade-api-python is a python library for the Alpaca Commission Free Trading API. It allows rapid trading algo development easily, with support for both REST and streaming data interfaces

Alpaca 1.5k Jan 9, 2023