Django rest framework calculated data from api code example Example: how to create api for get data in django rest framework pip install djangorestframework