Spaces:
Sleeping
Sleeping
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,12 +1,80 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
-
pinned:
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: JUDILIBRE API - French Court Decisions
|
| 3 |
+
emoji: ⚖️
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.19.2
|
| 8 |
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# JUDILIBRE API MCP Server
|
| 13 |
+
|
| 14 |
+
Production-ready API server for accessing French court decisions from the Cour de cassation.
|
| 15 |
+
|
| 16 |
+
## Features
|
| 17 |
+
|
| 18 |
+
- 🔍 **Full-text search** - Search through 1.3M+ court decisions
|
| 19 |
+
- 📊 **Real-time statistics** - Database metrics and usage stats
|
| 20 |
+
- 🏛️ **Legal taxonomy** - Structured classifications and terms
|
| 21 |
+
- 📄 **Complete decisions** - Full text with structured zones
|
| 22 |
+
- ⚡ **High performance** - Elasticsearch-powered search
|
| 23 |
+
- 🔒 **Secure** - OAuth 2.0 authentication
|
| 24 |
+
|
| 25 |
+
## Available Endpoints
|
| 26 |
+
|
| 27 |
+
### Core Endpoints (6 working)
|
| 28 |
+
- `GET /api/healthcheck` - Check API availability
|
| 29 |
+
- `GET /api/stats` - Get database statistics
|
| 30 |
+
- `GET /api/taxonomy` - Get legal classifications
|
| 31 |
+
- `GET /api/search` - Search court decisions
|
| 32 |
+
- `GET /api/decision` - Get specific decision
|
| 33 |
+
|
| 34 |
+
### Utility Endpoints
|
| 35 |
+
- `GET /api/search/contract` - Quick contract search
|
| 36 |
+
- `GET /api/search/recent` - Recent decisions
|
| 37 |
+
- `GET /api/search/chamber/{code}` - Search by chamber
|
| 38 |
+
|
| 39 |
+
## Data Coverage
|
| 40 |
+
|
| 41 |
+
- **Total Decisions**: 1,316,065+
|
| 42 |
+
- **Time Period**: 1800s to present
|
| 43 |
+
- **Jurisdictions**: Cour de cassation, Cours d'appel
|
| 44 |
+
- **Types**: Civil, Criminal, Commercial, Social
|
| 45 |
+
|
| 46 |
+
## Organization
|
| 47 |
+
|
| 48 |
+
- **Company**: AB GROUPE
|
| 49 |
+
- **SIRET**: 94432843400013
|
| 50 |
+
- **Application**: Sobro
|
| 51 |
+
|
| 52 |
+
## API Status
|
| 53 |
+
|
| 54 |
+
- **Working**: 6/8 endpoints (75%)
|
| 55 |
+
- **Production Ready**: Yes
|
| 56 |
+
- **Core Functionality**: Fully operational
|
| 57 |
+
|
| 58 |
+
## Example Usage
|
| 59 |
+
|
| 60 |
+
### Search for decisions
|
| 61 |
+
```
|
| 62 |
+
GET /api/search?query=contrat&page_size=10
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
### Get specific decision
|
| 66 |
+
```
|
| 67 |
+
GET /api/decision?id=686f55a53f11a71c18e869a4
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
### Get recent decisions
|
| 71 |
+
```
|
| 72 |
+
GET /api/search/recent?days=7
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
## Technical Details
|
| 76 |
+
|
| 77 |
+
- **Authentication**: OAuth 2.0
|
| 78 |
+
- **Rate Limits**: Standard PISTE limits apply
|
| 79 |
+
- **Response Format**: JSON
|
| 80 |
+
- **Documentation**: Available at root path `/`
|