No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen
- Dart 2.15.0+ or Flutter 2.8.0+
- Dio 5.0.0+ (https://pub.dev/packages/dio)
To use the package from pub.dev, please include the following in pubspec.yaml
dependencies:
barikoi_api: 0.0.4
If this Dart package is published to Github, please include the following in pubspec.yaml
dependencies:
barikoi_api:
git:
url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
#ref: main
To use the package from your local drive, please include the following in pubspec.yaml
dependencies:
barikoi_api:
path: /path/to/barikoi_api
Please follow the installation procedure and then run the following:
import 'package:barikoi_api/barikoi_api.dart';
final api = BarikoiApi().getPlaceApi();
final String q = q_example; // String | Search query input parameter
try {
final response = await api.getautocompleteplacelist(q);
print(response);
} catch on DioException (e) {
print("Exception when calling PlaceApi->getautocompleteplacelist: $e\n");
}
All URIs are relative to https://barikoi.xyz/v2/api
Class | Method | HTTP request | Description |
---|---|---|---|
PlaceApi | getautocompleteplacelist | GET /search/autocomplete | Returns place lists from search query |
PlaceApi | getrevgeoplace | GET /search/reverse/geocode | Returns details about a particular place from lat lon |
- AddressComponents
- AreaComponents
- Error
- Getautocompleteplacelist200Response
- Getrevgeoplace200Response
- Place
Authentication schemes defined for the API:
- Type: API key
- API key parameter name: key
- Location: URL query string