A simple Express API for the Video Tutorials on the Coding Train.
Response Type: application/json
All endpoints are relative to https://the-coding-train-api.vercel.app
GET /
: Details about the API and other endpointsGET /:videoplaylist{/:videoIndex}
: Data about particular playlist (or video)GET /:videoplaylist/random
: Data about a random video in a playlist
Actual Name | videoplalist Name |
---|---|
Coding Challenges | challenge |
Coding in the Cabana | cabana |
Code! Programming with p5.js | p5Tutorial |
Git and Github for Poets | gitTutorial |
Working with Data and APIs in JavaScript | dataapis |
The Nature of Code | noc |
Teachable Machine Tutorials | teachableMachine |
Beginners Guide to Machine Learning | ml5 |
Discord Bot | discord |
Guest Tutorials | guest |
GET /challenge/randomContribution
: Random Contribution for a Coding ChallengeGET /cabana/randomContribution
: Random Contribution for a Coding in the Cabana VideoGET /ml5/randomContribution
: Random Community Contribution in Machine Learning with ml5.jsGET /noc/randomContribution
: Random Contribution based on The Nature of Code videos
Open these links in the browser
- /challenge/random : Get details about a Random Coding Challenge Video
- /discord : Get details about the Discord Bot Tutorial Series
- /challenge/randomContribution : Get a random Community Contribution on a Coding Challenge Video
- /cabana/randomContribution : Get a random Community Contribution on a Coding in the Cabana Video
Here is an p5.js Web Editor Sketch which uses the API The Coding Train API Example
If any issue (eg. wrong response, etc) is found, please feel free to create a new github issue.
You can also contribute to the project by opening a pull request.
To test this API locally on your computer,
- Clone this repo
git clone https://github.com/dipamsen/The-Coding-Train-API.git
- Run
npm start
on the Terminal in the Project Directory - Open
localhost:4333
in the browser to use the API.
(Go to localhost:4333/challenge/randomContribution
for a random contribution)
MIT