mirror of
https://bitbucket.org/myhomie/myhomie_app.git
synced 2025-12-06 09:01:20 +00:00
1.4 KiB
1.4 KiB
mycore_api.api.GoogleApi
Load the API package
import 'package:mycore_api/api.dart';
All URIs are relative to https://localhost:5001
| Method | HTTP request | Description |
|---|---|---|
| googleCreate | POST /google |
googleCreate
MultipartFile googleCreate(googleAuthModel)
Example
import 'package:mycore_api/api.dart';
// TODO Configure OAuth2 access token for authorization: bearer
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';
final api_instance = GoogleApi();
final googleAuthModel = GoogleAuthModel(); // GoogleAuthModel |
try {
final result = api_instance.googleCreate(googleAuthModel);
print(result);
} catch (e) {
print('Exception when calling GoogleApi->googleCreate: $e\n');
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| googleAuthModel | GoogleAuthModel |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]