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 Bot to Track Kernel Upstreams from kernel.org and Post it on Telegram Channel

Channel Kernel Tracker is the channel where the bot will be sending the updates in. Introduction This is a Telegram Bot to Track Kernel Upstreams kern

Kartikeya Hegde 3 Oct 05, 2021
Cleaning Tiktok Hacks With Python

Cleaning Tiktok Hacks With Python

13 Jan 06, 2023
The most Advanced yet simple Multi Cloud tool to transfer Your Data from any cloud to any cloud remotely based on Rclone.⚡

Multi Cloud Transfer (Advanced!) 🔥 1.Setup and Start using Rclone on Google Colab and Create/Edit/View and delete your Rclone config file and keep th

Dr.Caduceus 162 Jan 08, 2023
A Python library for loading data from a SpaceX Starlink satellite.

Starlink Python A Python library for loading data from a SpaceX Starlink satellite. The goal is to be a simple interface for Starlink. It builds upon

Austin 2 Jan 16, 2022
This bot will send you an email or notify you via telegram & discord if dolar/lira parity breaks a record.

Dolar Rekor Kırdı Mı? This bot will send you an email or notify you via Telegram & Discord if Dolar/Lira parity breaks a record. Mailgun can be used a

Yiğit Göktuğ Budanur 2 Oct 14, 2021
a small cli to generate AWS Well Architected Reports on the road

well-architected-review This repo intends to publish some scripts related to Well Architected Reviews. war.py extracts in txt & xlsx files all the WAR

4 Mar 18, 2022
Trellox Tool is written in Python3 and designed to pull and list Trello boards.

TrelloX Trellox Tool is written in Python3 and designed to list and pull Trello boards. It can be used by penetration testers/bug bounty hunters to de

Ali Fathi Ali Sawehli 1 Dec 05, 2021
Community-based extensions for the python-telegram-bot library.

Community-based extensions for the python-telegram-bot library. Table of contents Introduction Installing Getting help Contributing License Introducti

74 Dec 24, 2022
Efetuar teste de automação usando linguagem gherkin

🚀 Teste-de-Automação - QA---CI-T 🚀 Descrição • Primeira Parte • Segunda Parte • Terceira Parte Contributors Descrição Efetuamos testes de automação

Eliel martins 6 Dec 07, 2021
scrape tiktok/douyin video list from specific user or keyword

get-tiktok-user-video-list scrape tiktok/douyin video list from specific user or keyword 以**https://www.douyin.com/user/MS4wLjABAAAAUpIowEL3ygUAahQB47

wanghaisheng 4 Jul 06, 2022
TORNADO CASH Pancakeswap Sniper BOT 2022-V1 (MAC WINDOWS ANDROID LINUX)

TORNADO CASH Pancakeswap Sniper BOT 2022-V1 (MAC WINDOWS ANDROID LINUX)

Crypto Trader 1 Jan 06, 2022
Discord bot ( discord.py ), uses pandas library from python for data-management.

Discord_bot A Best and the most easy-to-use Discord bot !! Some simple basic auto moderations, Chat functions. It includes a game similar to Casino, g

Jaitej 4 Aug 30, 2022
Token Manager written in Python

Discord-API-Token-Entrance Description This is a Token Manager that allows your token to enter your discord server, written in python. Packages Requir

Tootle 1 Apr 15, 2022
An incomplete add-on extension to Pyrogram, to create telegram bots a bit more easily

PyStark A star ⭐ from you means a lot An incomplete add-on extension to Pyrogram

Stark Bots 36 Dec 23, 2022
An API wrapper library for opensea api.

Opensea API An API wrapper library for opensea api. Installation pip3 install opensea Usage Retrieving assets: from opensea import get_assets # This

Ankush Singh 38 Jul 17, 2022
A multi-tenant multi-client scalable product categorising demo stack

Better Categories 4All: A multi-tenant multi-client product categorising stack The steps to reproduce training and inference are in the end of this fi

7 Feb 15, 2022
szrose is an all in one group management bot made for managing your group effectively with some advance security tools & Suit For All Your Needs ❤️

szrose is an all in one group management bot made for managing your group effectively with some advance security tools & Suit For All Your Needs ❤️

szsupunma 93 Jan 07, 2023
Find rare users in discord servers

BadgeScraper Find rare users in discord servers How to use Replace the guild_id, server_id and token by the values you wanna use If you never used dis

20 Dec 09, 2022
An API which returns random AOT quote everytime it's invoked

An API which returns random AOT quote everytime it's invoked

Nishant Sapkota 1 Feb 07, 2022
This project checks the weather in the next 12 hours and sends an SMS to your phone number if it's going to rain to remind you to take your umbrella.

RainAlert-Request-Twilio This project checks the weather in the next 12 hours and sends an SMS to your phone number if it's going to rain to remind yo

9 Apr 15, 2022