MIT2app communicating with django project

I have Django website where I would like to login to, retrieve some data, make small changes using MIT2 app. Too be honest not sure how to start. Any ideas please?

Do you use php scripts to access and modify the django website ?

Not. This kind of inventory management system I would like to login to with MIT2 app, scan items, read and update stock. From what I read so far, recommended is to create REST API for my Django website and communicate using requests, but I am new at this, that is why I am looking for some advise from more experiences programmers in this field.

You would normally use the web component to run REST api requests to a server.

I have not run a django website, not set up a REST api for one.

Another option I read about is to use web socket but not sure how to do it.

There is a Python package for exposing and using Django models via a REST API called Django REST framework:

Security is an additional consideration. You could protect this by putting an Apache or nginx instance in front of Django and make use of HTTP authentication, or you could deploy something like Django OAuth toolkit to provide an OAuth flow for authenticating to Django.

https://django-oauth-toolkit.readthedocs.io/en/latest/