Code Monkey home page Code Monkey logo

thenewboston-api's Introduction

All majors

/v1/majors/ - returns an array of all majors.

request:

/v1/majors/

response:

[
    {
        "id": 1,
        "name": "Beauty",
        "slug": "beauty"
    },
    {
        "id": 2,
        "name": "Business",
        "slug": "business"
    },
    {
        "id": 3,
        "name": "Computer Science",
        "slug": "computer-science"
    }
]

Courses for a major

/v1/{major_slug}/ - returns an array of all courses for a major.

request:

/v1/computer-science/

response:

[
    {
        "id": 1,
        "category": "Programming",
        "name": "AJAX",
        "major": 3
    },
    {
        "id": 2,
        "category": "Programming",
        "name": "Android App Development for Beginners",
        "major": 3
    },
    {
        "id": 3,
        "category": "Programming",
        "name": "C Programming",
        "major": 3
    }
]

Videos for a course

/v1/videos/{course_id}/ - returns an array of all videos for a course.

request:

/v1/videos/1/

response:

[
    {
        "episode": 1,
        "title": "Introduction",
        "youtube_code": "QAbQgLGKd3Y",
        "course": 2
    },
    {
        "episode": 2,
        "title": "Installing Android Studio",
        "youtube_code": "zEsDwzjPJ5c",
        "course": 2
    }
]

Note: the login credentials for the development admin panel are:

  • admin
  • pass1234

thenewboston-api's People

Contributors

buckyroberts avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.