myhomie_app/mycore_api/doc/GoogleApi.md
2021-12-01 15:41:22 +01:00

1.4 KiB

mycoreapi.api.GoogleApi

Load the API package

import 'package:mycoreapi/api.dart';

All URIs are relative to http://192.168.31.140

Method HTTP request Description
googleCreate POST /google

googleCreate

MultipartFile googleCreate(googleAuthModel)

Example

import 'package:mycoreapi/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

MultipartFile

Authorization

bearer

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]