What is API ? Create Simple API using Python Django REST Framework

What is API ? Create Simple API using Python Django REST Framework

In this video, we will understand what an API is and also create a simple API using Django REST Framework in Python.

In this video, we will understand what an API is and also create a simple API using Django REST Framework in Python.

So. What is an API?

API stands for Application Programming Interface. API basically helps one web application to communicate with another application. Let’s try to understand this with an example.

Let’s assume you are developing an android application which has feature to detect the name of a famous person in an image. In order to achieve this you have 2 options. Option 1 is to collect the images of all the famous personalities around the world, build a machine learning/deep learning or whatever model it is and use it in your application.

Option 2 – Just use someone else’s model using API to add this feature in your application. Large companies like Google and Microsoft may have images of all famous personalities. So they would already have built a model which can recognize these images. You can just use their API to send the image and get back the name of the person in that image.

You will not know what logic/code they have written inside and how they have trained the model. You will only be given an API (or an url). It works like a black box where you send your request (in our case its the image), and you get the response ( which is the name of the person in that image).

Now that you know what API is, let us create a simple API using django REST Framework in python.

python django rest api

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

An API-First Approach For Designing Restful APIs | Hacker Noon

I’ve been working with Restful APIs for some time now and one thing that I love to do is to talk about APIs.

What is REST API? An Overview | Liquid Web

What is REST? The REST acronym is defined as a “REpresentational State Transfer” and is designed to take advantage of existing HTTP protocols when used

top 30 Python Tips and Tricks for Beginners

In this post, we'll learn top 30 Python Tips and Tricks for Beginners

Build a Complete Django REST API with Me! | Python & Django

I will be using the Django REST Framework to build a complete REST API is this livestream.

Creating a REST API in Python with Django

Creating a REST API in Python with Django. We are going to build a RESTful API using Django without any external libraries. We will cover the basics of Django and implement a JSON-based API to perform CRUD operations for a shopping cart application.