google_search_api

Last updated:

0 purchases

google_search_api Image
google_search_api Images
Add to Cart

Description:

google search api

This package implement Google Search API with only dart dependency(without flutter).
Before working with the plugin, be sure to read Before you begin and create an API key in Google Developer Console.
Features #
Search google places using google service
Getting started #
Create an API key in Google Developer Console.
with dart #
$ dart pub add google_search_api
with flutter #
$ flutter pub add google_search_api
Usage #
import 'package:google_search_api/google_search_api.dart';

try {
GoogleSearchParametersModle googleSearchParametersModle = GoogleSearchParametersModle('cruise', '-33.8670522,151.1957362', 'GOOGLE_API_KEY', 1500, 'restaurant' );
dynamic places = await getNearbyPlaces(googleSearchParametersModle);
if (kDebugMode) {
print(places.results);
}
} catch (e) {
if (kDebugMode) {
print(e);
}
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.