DoodstreamClient class
DoodstreamClient
OFFICIAL DOCS: https://doodstream.com/api-docs
GET API KEY DOODSTREAM: https://doodstream.com/settings
Constructors
- DoodstreamClient({required String api_key, Client? httpClient})
- DoodstreamClient
Properties
- api_key ↔ String
-
getter/setter pair
- api_url → Uri
-
Api Url: https://doodapi.com
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- http_client ↔ Client
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyOrCloneFile(
{required String file_code, String? folder_id, String? apiKey}) → Future< Map> - Copy / Clone your's or other's file
-
createFolder(
{String? name, String? parent_id, String? apiKey}) → Future< Map> - Create a folder
-
getAccountReports(
{String? last, String? from_date, String? to_date, String? apiKey}) → Future< Map> - Get reports of your account (default last 7 days)
-
getDmcaList(
{String per_page = "500", String? page, String? apiKey}) → Future< Map> - Get DMCA reported files list (500 results per page)
-
getFileInfo(
{required String file_code, String? apiKey}) → Future< Map> - Get file info
-
getFileStatus(
{required String file_code, String? apiKey}) → Future< Map> - Check status of your file
-
getFileThumbnail(
{required String file_code, String? apiKey}) → Future< Map> - Get file splash, single or thumbnail image
-
getListFiles(
{int page = 0, int per_page = 200, String? folder_id, String? created, String? apiKey}) → Future< Map> - List all files
-
getListFolderAndFiles(
{String? folder_id, bool? only_folders, String? apiKey}) → Future< Map> - List all folders
-
getMe(
{String? apiKey}) → Future< Map> - Get basic info of your account
-
getRemoteUploads(
{String? apiKey}) → Future< Map> - Remote Upload List & Status
-
getRemoteUploadSlots(
{String? apiKey}) → Future< Map> - Get total & used remote upload slots
-
getRemoteUploadStatus(
{required String file_code, String? apiKey}) → Future< Map> - Remote Upload Status
-
invoke(
{required String uriPath, Map< String, dynamic> ? uriQueryParameters, Map? parameters, Map? headersParameters, String? apiKey, List<int> ? statusCodes, String? keyResultList, String method_request = "get", String specialTypeName = "ok"}) → FutureOr<Map> - call api with latest features DOCS: https://doodstream.com/api-docs#
-
moveFile(
{required String file_code, required String to_folder_id, String? apiKey}) → Future< Map> - Move your file from one folder to another
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchFile(
{required String search_term, String? apiKey}) → Future< Map> - Search your files
-
sendRemoteUploadActions(
{dynamic restart_errors, dynamic clear_errors, dynamic clear_all, dynamic delete_code, String? apiKey}) → Future< Map> - Perform various actions on remote upload
-
setNameFile(
{required String file_code, required String title, String? apiKey}) → Future< Map> - Rename your file
-
setNameFolder(
{String? name, String? folder_id, String? apiKey}) → Future< Map> - List all folders
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadFileFromLocal(
{required File file, String? apiKey}) → Future< Map> - Upload local files using API / DOCS: https://doodstream.com/api-docs#files-copy
-
uploadFileFromRemote(
{required String url, String? folder_id, String? new_title, String? apiKey}) → Future< Map> - Upload files using direct links
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited