# Welcome

### 🖌 Functionalities

* Authentication
  * Send auth code
  * Confirm auth code
  * Refresh acces token
* Address
  * List user addresses
  * Geocode an address
  * Create a new one
* Merchant
  * List merchants by filter
    * Payment type
    * Geolocation
      * Latitude
      * Longitude
    * Sort
  * Get current merchant catalog
* Order
  * Checkout a new order
  * Get order status
  * List order events

### ⏬ Installation

The SDK library are published at Maven Central Repository, for using this in your project add the following dependency on your `pom.xml` or `build.gradle`.

Check the latest version at [Maven Central Repository](https://central.sonatype.com/artifact/io.github.open-ifood/sdk)

#### Maven

```xml
<dependency>
    <groupId>io.github.open-ifood</groupId>
    <artifactId>sdk</artifactId>
    <version>1.0.0</version>
</dependency>
```

#### Gradle

```kotlin
implementation 'io.github.open-ifood:sdk:1.0.0'
```

### 📝 Documentation

Access the complete documentation and usages in the following link [documentation](https://openifood.gitbook.io/open-ifood-sdk/documentation "mention")


---

# Agent Instructions: 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://openifood.gitbook.io/open-ifood-sdk/welcome.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.
