Unofficial Udemy Node.js SDK for the internal API (for instructors).
npm install udemy-sdkUnofficial Udemy Node.js SDK for the internal API (for instructors).
Created by @AxelPariss
```
npm install udemy-sdk
- Coupons
- Announcements
- Courses
- Statements
`js
const UdemySDK = require('udemy-sdk')
const debug = true
const Udemy = new UdemySDK(YOUR_UDEMY_TOKEN, debug)
// My Courses
const allCourses = await Udemy.courses.get()
console.log(allCourses)
`
``
scarcity_free (Gratuit pendant 31 jours, 10 utilisations)
urgency_free (Gratuit pendant 3 jours, illimité)
discount_urgency (Prix entre MIN et MAX pendant 31 jours)
urgency_discount (Prix MIN pendant 5 jours)
| Paramètre | Description | Valeur |
| ------------------ | --------------------------- | ---------------------------------------------------------------------------------------- |
| courseId | Udemy course ID | Ex: 2393094 |couponCode
| | Coupon | Ex: NOUVELAN2020 |value
| | Price (between 9.99 et 199) | Ex: 13.99 |discountStrategy
| | Type de promotion | - scarcity_freeurgency_free
- discount_urgency
- urgency_discount
- |
| Paramètre | Description | Valeur |
| ----------------- | ---------------------------------------- | ------------------------------ |
| title | Title | Ex: Nouveau cours : Adobe XD |content
| | HTML content | Ex:
Inscris-toi !
|
| includes | Tableau des ID des cours Udemy à cibler | Ex: [2393094, 2872087] |
| excludes | Tableau des ID des cours Udemy à exclure | Ex: [2393094, 2872087] |
| completionRatio | Filtre de progression des participants | - |
| fromDate | Filtre de date de début d'inscription | - |
| toDate | Filtre de date de fin d'inscription | - |
| is_promotional | Is promotional | true or false |
| isPreview | Is preview email | true or false` |This package is not under current development but you can DM me ou open pull request if you want to participate.