google_api_services

Last updated:

0 purchases

google_api_services Image
google_api_services Images
Add to Cart

Description:

google api services

Package provides you with using google api services by only providing api key.
Features #
We support two api functions for now, which has further scope of development and any inputs are welcomed

Autocomplete Api : used for searching places.
Place Details Api : used to get place details using placeId.

Getting started #
You need google api key and enabling geocoding and geo place api from google cloud.
After enabling use api key to initialize our package using ,
-> GoogleApiServices.initialize(
Now Enjoy functions directly.
Usage #
Usage of auto complete api :
GoogleApiServices.instance.autoComplete(query).then((base) {
base.data?.predictions?.forEach((data) {});
});
Usage of place detail api :
GoogleApiServices.instance.details(placeId).then((data) {
debugPrint("Place Detail: ${data.data?.result?.toJson()}");
});
Additional information #
Since project has lot more scope, we would like to welcome more community input to help community.
Thank you.

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.