Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README-fr.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ⚙️ RAGE Data API

![Version](https://img.shields.io/badge/version-0.1.1-blue.svg)
![Version](https://img.shields.io/badge/version-0.1.2-blue.svg)
![Python](https://img.shields.io/badge/python-3.10%2B-yellow.svg)
![FastAPI](https://img.shields.io/badge/FastAPI-0.128.0-green.svg)

Expand Down Expand Up @@ -43,10 +43,11 @@ make build-up-d-prod

## 🔄 Mises à jour

### 🔄 v0.1.2 — WIP
### 🔄 v0.1.2 — 4 mars 2026
- ✨ Implémentation des opérations de lecture pour contrôles de jeu filtrés
- 📝 Ajout de la documentation pour le tag Health.

### 🔄 v0.1.1 — 3 mars, 2026
### 🔄 v0.1.1 — 3 mars 2026
- 📝 Ajout du plan de développement dans les fichiers README.

### 🔄 v0.1.0 — 17 février 2026
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ⚙️ RAGE Data API

![Version](https://img.shields.io/badge/version-0.1.1-blue.svg)
![Version](https://img.shields.io/badge/version-0.1.2-blue.svg)
![Python](https://img.shields.io/badge/python-3.10%2B-yellow.svg)
![FastAPI](https://img.shields.io/badge/FastAPI-0.128.0-green.svg)

Expand Down Expand Up @@ -43,7 +43,8 @@ make build-up-d-prod

## 🔄 Updates

### 🔄 v0.1.2 — WIP
### 🔄 v0.1.2 — March 4, 2026
- ✨ Implemented read operations for filtered game controls
- 📝 Added the Health tag documentation.

### 🔄 v0.1.1 — March 3, 2026
Expand Down
18 changes: 9 additions & 9 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

tags_metadata = [
{
"name": "Models",
"description": "Operations with GTA5 models. Retrieve various model data.",
"name": "GTA5",
"description": "Operations with Grand Theft Auto V models. Retrieve various model data.",
},
{
"name": "Health",
Expand All @@ -34,7 +34,7 @@
title="⚙️ RAGE Data API",
summary="RAGE Data API allows you to retrieve useful information from video games using the RAGE game engine. This information helps, in particular, mod developers to simplify their research.",
description=readme_content,
version="0.1.1",
version="0.1.2",
openapi_tags=tags_metadata,
docs_url="/",
redoc_url="/redoc",
Expand All @@ -43,7 +43,7 @@

@app.get(
"/blip_colors",
tags=["Models"],
tags=["GTA5"],
summary="Retrieve blip colors data",
description="Fetches and returns the JSON data for blip colors models.",
)
Expand All @@ -56,7 +56,7 @@ def read_blip_colors(result = Depends(get_blip_colors)) -> List[BlipColor]:

@app.get(
"/blip_models",
tags=["Models"],
tags=["GTA5"],
summary="Retrieve blip models data",
description="Fetches and returns the JSON data for blip models.",
)
Expand All @@ -69,7 +69,7 @@ def read_blip_models(result = Depends(get_blip_models)) -> List[BlipModel]:

@app.get(
"/controls",
tags=["Models"],
tags=["GTA5"],
summary="Retrieve controls data",
description="Fetches and returns the JSON data for controls.",
)
Expand All @@ -82,7 +82,7 @@ def read_controls(result = Depends(get_controls)) -> List[Control]:

@app.get(
"/markers",
tags=["Models"],
tags=["GTA5"],
summary="Retrieve markers data",
description="Fetches and returns the JSON data for markers.",
)
Expand All @@ -95,7 +95,7 @@ def read_markers(result = Depends(get_markers)) -> List[Marker]:

@app.get(
"/ped_models",
tags=["Models"],
tags=["GTA5"],
summary="Retrieve ped models data",
description="Fetches and returns the JSON data for ped models.",
)
Expand All @@ -108,7 +108,7 @@ def read_ped_models(result = Depends(get_ped_models)) -> List[PedModel]:

@app.get(
"/weapons",
tags=["Models"],
tags=["GTA5"],
summary="Retrieve weapons data",
description="Fetches and returns the JSON data for weapons models.",
)
Expand Down