Restdb.io API Wrapper#
#
This package is an API Wrapper for the website restdb.io, which allows for online databases.
API - kivymd.tools.patterns.MVC.Model.database_restdb
#
- kivymd.tools.patterns.MVC.Model.database_restdb.get_connect(func, host='8.8.8.8', port=53, timeout=3)#
Checks for an active Internet connection.
- class kivymd.tools.patterns.MVC.Model.database_restdb.DataBase#
- name = 'RestDB'#
- upload_file(path_to_file: str) dict | bool #
Uploads a file to the database. You can upload a file to the database only from a paid account.
- get_data_from_collection(collection_address: str) bool | list #
Returns data of the selected collection from the database.