What is API ? Create Simple API using Python Django REST Framework
If this video is helpful to you, you can support this channel to grow much more by supporting on patreon : https://www.patreon.com/artofengineer
Hello everyone,
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.
Видео What is API ? Create Simple API using Python Django REST Framework канала Art of Engineer
Hello everyone,
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.
Видео What is API ? Create Simple API using Python Django REST Framework канала Art of Engineer
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
REST API Crash Course - Introduction + Full Python API TutorialWhat is an API and how do you design it? 🗒️✅What is the difference between a Library and a FrameworkSerializer and Serializertion in Django REST Framework (Hindi)What is REST API? | Web ServiceDjango REST Framework Model RelationshipsWhat is an API?Django Rest Framework | How to Create a RESTful API Using Django | Django Tutorial | EdurekaWhat is an API?APIs for Beginners - How to use an API (Full Course / Tutorial)Django Rest Framework | Serializers & CRUDWorking with APIs in Python - Code in 10 MinutesWhat are Libraries and Frameworks?What is an API ? Simply ExplainedCreate your own Public API in Python TutorialDjango Rest API CRUD - GET, POST, PUT and DELETEBuilding a REST API in Python | Home Automation #02API basics for you (2020) | What is API | Explained with simple examplesDeSerialization and Insert Data Django REST Framework (Hindi)