Skip to content

barikoi/barikoi_api_dartlib

Repository files navigation

barikoi_api (EXPERIMENTAL)

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

Requirements

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  barikoi_api: 0.0.4

Github

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

Local development

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  barikoi_api:
    path: /path/to/barikoi_api

Getting Started

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");
}

Documentation for API Endpoints

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

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

key

  • Type: API key
  • API key parameter name: key
  • Location: URL query string

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages