Skip to content

Latest commit

 

History

History
63 lines (34 loc) · 1.1 KB

README.md

File metadata and controls

63 lines (34 loc) · 1.1 KB

User-Agent Parser

This project is a customizable tool for parsing User-Agent strings to extract detailed information about browsers, versions, and other key attributes. It is specifically designed to handle a wide variety of User-Agent patterns.

Table of Contents

Technologies

  • Spring Boot (Java)
  • Docker
  • Redis

Installation

  1. Clone the repository:
    git clone https://github.com/andrey-lawyer/java-useragent-parser

Running the Project

To start the project, run:

docker-compose up

Once the containers are up and running, you can access the application at the following addresses:

http://localhost:8080

API Reference

Endpoint to parse user agent from the "User-Agent" header

  GET /api/user-agent/parse-header

Endpoint to parse user agent from query parameter

  GET /api/user-agent/parse-query

query parameters:

  • userAgent (required): The User-Agent string to parse.