An open API service indexing awesome lists of open source software.

https://github.com/guiromao/search-ads-api

Searching Ads the efficient way
https://github.com/guiromao/search-ads-api

dropwizard elasticsearch java

Last synced: 2 months ago
JSON representation

Searching Ads the efficient way

Awesome Lists containing this project

README

          

# Search Ads API

An API to search Ads according to 'text', priceFrom, and priceTo.

Endpoint: GET /search
---

Parametres:
----
- query: the text to query for (mandatory)
- priceFromEuro: the base price in Euro (not mandatory)
- priceToEuro: the upper limit price in Euro (not mandatory)

Example: GET /search?query=yourtext&priceFromEuro=123&priceToEuro=321

Exceptions:
- Empty text query
- Negative prices
- 'priceFrom' higher than 'priceTo'

Health Check
---

To see your applications health enter url `http://localhost:8081/healthcheck`