> For the complete documentation index, see [llms.txt](https://itechnotion.gitbook.io/listify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://itechnotion.gitbook.io/listify/api-configuration.md).

# API Configuration

## About Google Places <a href="#about-google-places" id="about-google-places"></a>

&#x20;Google Places API is a service provided by Google which returns information about your nearest places by considering the latitude, longitude and radius of area. You can add or remove a place from their places service too. Everything is done just by sending an HTTP request with required parameters. Check their [official documentation](https://developers.google.com/places/documentation/) for more information.

## Obtaining Google Place API Key <a href="#obtaining-google-place-api-key" id="obtaining-google-place-api-key"></a>

&#x20;**Follow these steps to get an API key:**

1. Go to the [Google API Console.](https://console.developers.google.com/cloud-resource-manager)​
2. Create or select a project.
3. Click Continue to enable the API and any related services.
4. On the Credentials page, get an API key.
5. From the dialog displaying the API key, select Restrict key to set a browser restriction on the API key.

Please refer this document to generate Google Place api key - [Document](https://developers.google.com/places/web-service/intro)​

Place your Google place api key inside Constant.java

**App > java > com.googlenearbyplace > util > Constant.java**

```
public static String KEY = "INSERT PLACE API KEY HERE"; 
```

You can change Radius by changing the value of PROXIMITY\_RADIUS Value in Constant.java

&#x20;**App > java > com.googlenearbyplace > util > Constant.java**

```
public static String PROXIMITY_RADIUS = "5000";
```

Note : Minimum Value should be 500, and Maximum value is 50000

## **How to generate google Map api key**  <a href="#how-to-generate-google-map-api-key" id="how-to-generate-google-map-api-key"></a>

Follow the directions here:[Get Started  |  Maps SDK for Android  |  Google DevelopersStart a new Google Maps project for your Android app today. Here's how to find everything you'll need from installing the sdk to building and running your app.developers.google.com](https://developers.google.com/maps/documentation/android/start#get-key)

Once you have your key (it starts with "**AIza**"), replace the "**google\_maps\_key**" string in this file. --> ***res > values > google\_maps\_api.xml***

Note : Don't Forgot to enable **Maps SDK for Android, Places API, Places SDK for Android, Google Maps JavaScript API, Geocoding API.**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://itechnotion.gitbook.io/listify/api-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
