GitHub - ironblaster/GoogleMapsSearchAPI: Search on google maps Places API · GitHub
Skip to content

ironblaster/GoogleMapsSearchAPI

Folders and files

Repository files navigation

Java CI with Maven

GoogleMapsSearchAPI

Search on google maps Places API

for import this dependency on MAVEN insert this repository in your POM:

  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>

and this dependency:

<dependency>
    <groupId>com.github.ironblaster</groupId>
    <artifactId>GoogleMapsSearchAPI</artifactId>
    <version>{LAST-RELASE}</version>
</dependency>

last version have only one method:

Collection<PlaceResult> results = SearchPlace.byString(googleAPIKey, languageCode, query);

this is the results' structure

  	String FormattedAddress; 	//ex: 221B Baker St, Marylebone, London NW1 6XE, UK
	String Locality;		     
	String city;			
	String province;		//ex: Greater London
	String provinceAbbreviation;
	String region;			//ex: England
	String country;			//ex: United Kingdom
	String postalCode;		//ex: NW1 6XE

About

Search on google maps Places API

Resources

Stars

Watchers

Forks

Packages

Contributors

Languages