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