Install

add SharePoint REST API in your INSTALLED APPS in your settings.py and configure your settingss

INSTALLED_APPS = (
    ...
    'sharepoint_rest_api',
    ...
)

include your the library urls in the main url.py

path(r'api/', include('sharepoint_rest_api.urls', namespace='sharepoint')),

create your objects tenant, site and libraries objects in your models.

setup your settings

Please see Settings