Skip to content

CodingTrain/The-Coding-Train-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Coding Train API

Coding Train Logo

A simple Express API for the Video Tutorials on the Coding Train.

Response Type: application/json

Endpoints:

All endpoints are relative to https://the-coding-train-api.vercel.app

  • GET / : Details about the API and other endpoints
  • GET /: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 Challenge
  • GET /cabana/randomContribution : Random Contribution for a Coding in the Cabana Video
  • GET /ml5/randomContribution : Random Community Contribution in Machine Learning with ml5.js
  • GET /noc/randomContribution : Random Contribution based on The Nature of Code videos

Example Testing Routes

Open these links in the browser

Usage

Here is an p5.js Web Editor Sketch which uses the API The Coding Train API Example

Contribution

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)

License

MIT

About

API for all things on The Coding Train (thecodingtrain.com)

Resources

License

Stars

Watchers

Forks

Releases

No releases published