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
Playing around with the slack api for learning purposes

SlackBotTest Playing around with the slack api for learning purposes and getting people to contribute Reason for this Project: Bots are very versatile

1 Nov 24, 2021
HTTP API for TON (The Open Network)

HTTP API for The Open Network Since TON nodes uses its own ADNL binary transport protocol, a intermediate service is needed for an HTTP connection. TO

66 Dec 28, 2022
A telegram bot that can upload telegram media files to anonfiles.com and give you direct download link

✯ AnonFilesBot ✯ Telegram Files to AnonFiles Upload Bot It will Also Give Direct Download Link Process : Fork This Repositry And Simply Cick On Heroku

Avishkar Patil 38 Dec 30, 2022
Minecraft name sniper written in python.

⚠️ IMPORTANT ⚠️ DO NOT USE MCSNIPERPY -- READ BELOW This sniper does not support Microsoft accounts or prename / gc sniping and is MUCH harder to use

MCsniperPY 201 Dec 30, 2022
Yandex OSINT tool

YaSeeker Description YaSeeker - an OSINT tool to get info about any Yandex account using email or login. It can find: Fullname Photo Gender Yandex UID

HowToFind 110 Jan 03, 2023
Web3 Pancakeswap Sniper & honeypot detector Take Profit/StopLose bot written in python3, For ANDROID WIN MAC & LINUX

Pancakeswap BSC Sniper Bot web3 with honeypot detector (ANDROID WINDOWS MAC LINUX) First SNIPER BOT for ANDROID with honeypot detector Web3 Pancakeswa

HYDRA 1 Dec 23, 2021
An advanced Filter Bot with nearly unlimitted filters!

Unlimited Filter Bot ㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤ An advanced Filter Bot with nearly unlimitted filters! Features Nearly unlimited filters Supports all type of fil

TroJanzHEX 445 Jan 03, 2023
Freqtrade is a free and open source crypto trading bot written in Python.

Freqtrade is a free and open source crypto trading bot written in Python. It is designed to support all major exchanges and be controlled via Telegram. It contains backtesting, plotting and money man

Kazune Takeda 5 Dec 30, 2021
Notion4ever - Python tool for export all your content of Notion page using official Notion API

NOTION4EVER Notion4ever is a small python tool that allows you to free your cont

50 Dec 30, 2022
Wrapper around the Mega API

python-mega Overview Wrapper around the Mega API. Based on the work of Julien Marchand. Installation Install using pip, including any optional package

Juan Riaza 104 Nov 26, 2022
Telegram bot to download almost all from Instagram

Instagram Manager Bot The most advanced Instagram Downloader Bot. Please fork this repository don't import code Made with Python3 (C) @subinps Copyrig

SUBIN 300 Dec 30, 2022
Boilerplate template for the discord-py-interactions library

discord-py-interactions_boilerplate Boilerplate template for the discord-py-interactions library Currently, this boilerplate supports discord-py-inter

Ventus 7 Dec 03, 2022
Google scholar share - Simple python script to pull Google Scholar data from an author's profile

google_scholar_share Simple python script to pull Google Scholar data from an au

Paul Goldsmith-Pinkham 9 Sep 15, 2022
Replace sequence_IDs in gff3 based on given genome.fasta

gff-rename Replace the sequence IDs in a gff3 file with a set of provided sequence IDs from a genom.fasta. This is useful when a gff3 file is retrieve

tolkit 1 Nov 12, 2021
Twitter for Python!

Tweepy: Twitter for Python! Installation The easiest way to install the latest version from PyPI is by using pip: pip install tweepy You can also use

9.4k Jan 07, 2023
Neko: An Anime themed advance Telegram group management bot

𝑪𝒖𝒕𝒊𝒆𝒑𝒊𝒊 𝑹𝒐𝒃𝒐𝒕 A modular telegram Python bot running on python3 wit

「 Rajkumar™ 」 39 Jan 08, 2023
Discord bot code to stop users that are scamming with fake messages of free discord nitro on servers in order to steal users accounts.

AntiScam Discord bot code to stop users that are scamming with fake messages of free discord nitro on servers in order to steal users accounts. How to

H3cJP 94 Dec 15, 2022
A wrapper for slurm especially on Taiwania2 (HPC CLI)A wrapper for slurm especially on Taiwania2 (HPC CLI)

TWCC-slurm-wrapper A wrapper for slurm especially on Taiwania2 (HPC CLI). For Taiwania2 (HPC CLI) usage, please refer to here. (中文) How to Install? gi

Chi-Liang, Liu 5 Oct 07, 2022
🎀 First and most powerfull open source clicktune botter

CTB 🖤 Follow me here: Discord | YouTube | Twitter | Github 🐺 Features: /* *- The first *- Fast *- Proxy support: http/s, socks4/5, premieum (w

Iтѕ_Ѵιcнч#1337 22 Aug 29, 2022
Trading strategy for the Freqtrade crypto bot

NostalgiaForInfinity Trading strategy for the Freqtrade crypto bot Change strategy Add strategies to the user_data/strategies folder and also in the d

iterativ 1.5k Jan 01, 2023