📤 Uploader un Torrent
🔑 Votre identifiant de tracker:
✓ Anonyme - Uploads seront associés au compte Anonyme
uploadanonuniversanimesfr
✓ Anonyme - Uploads seront associés au compte Anonyme
📡 API d'Upload de Torrents
▼ Afficher la documentation API
📍 URL de l'API
POST https://univers-animes.fr/src/api/upload.php
📂 Catégories Disponibles
| ID | Catégorie |
|---|---|
1 | Action |
2 | Adventure |
22 | Apocalypse |
20 | BL (Yaoi) |
3 | Comedy |
4 | Drama |
6 | Fantasy |
21 | GL (Yuri) |
7 | Horror |
10 | Mecha |
11 | Mystery |
12 | Psychological |
5 | Romance |
14 | School |
9 | Sci-Fi |
17 | Seinen |
18 | Shonen |
19 | Shoujo |
15 | Slice of Life |
16 | Sports |
8 | Supernatural |
13 | Thriller |
🎬 Formats de Qualité Disponibles
📀 Cinéma/Disque
CAM, TS, TC
💿 DVD/Blu-ray
DVD-Rip, DVD-Scr, BluRay, BDRip, BRRip, BluRay REMUX
🌐 Web/Streaming
WEB-DL, WEBRip
📺 Télévision
HDTV, PDTV
🧪 Pré-sorties
Screener, Workprint
✂️ Éditions
PROPER, REPACK, EXTENDED, UNCUT, LIMITED
🎭 Genres Disponibles
ActionAdventureComedyDramaEcchiFantasyHentaiHorrorJoseiMagicMysteryPsychologicalRomanceSchoolSci-FiSeinenShonenShoujoSlice of LifeSportsSupernaturalThriller📋 Paramètres Requis
| Paramètre | Type | Description |
|---|---|---|
title |
string | Nom de l'anime (ex: Naruto Shippuden) |
category |
int | ID de la catégorie (requis) |
anime_type |
string | Film | Série | OVA | Spécial |
anime_version |
string | VF ou VOSTFR |
quality_format |
string | CAM, TS, WEB-DL, BluRay, DVD-Rip, etc. |
description |
string | Description / Synopsis du torrent |
anime_year |
int | Année de sortie (ex: 2011) |
anime_genre |
string | Genre(s) séparés par des virgules (ex: Action, Comedy, Thriller) |
anime_duration |
string | Durée totale ou par épisode (ex: 1h 48m ou 24 min) |
anime_imdb_rating |
float | Note IMDb (ex: 8.5) |
torrent_file |
file | Fichier .torrent (multipart/form-data) |
season_number |
int | REQUIS si Série/OVA (0-1000000) |
episode_number |
int | REQUIS si Série/OVA (0-10000000) |
🔑 Paramètres Vraiment Optionnels
| Paramètre | Type | Description |
|---|---|---|
keypass |
string | Keypass utilisateur pour uploads authentifiés (optionnel pour anonyme) |
💻 Exemple avec cURL
curl -X POST https://univers-animes.fr/src/api/upload.php \
-F "title=Naruto Shippuden" \
-F "category=1" \
-F "anime_type=Série" \
-F "anime_version=VOSTFR" \
-F "quality_format=WEB-DL" \
-F "anime_year=2007" \
-F "anime_genre=Action, Adventure, Ninja" \
-F "anime_duration=24 min" \
-F "anime_imdb_rating=8.5" \
-F "description=L'histoire continue après le saut temporel..." \
-F "season_number=1" \
-F "episode_number=1" \
-F "keypass=a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6" \
-F "torrent_file=@/path/to/file.torrent"
🐍 Exemple avec Python
import requests
import json
files = {'torrent_file': open('anime.torrent', 'rb')}
data = {
'title': 'Naruto Shippuden',
'category': 1,
'anime_type': 'Série',
'anime_version': 'VOSTFR',
'quality_format': 'WEB-DL',
'anime_year': 2007,
'anime_genre': 'Action, Adventure, Ninja',
'anime_duration': '24 min',
'anime_imdb_rating': 8.5,
'description': 'L\'histoire continue après le saut temporel...',
'season_number': 1,
'episode_number': 1,
'keypass': 'a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6' # Votre keypass utilisateur
}
response = requests.post(
'https://univers-animes.fr/src/api/upload.php',
data=data,
files=files
)
result = response.json()
if result.get('success'):
print(f"✅ Torrent uploadé!")
print(f"ID: {result['metadata']['torrent_id']}")
print(f"Titre: {result['metadata']['title']}")
print(f"Taille: {result['metadata']['file_size']}")
print(f"Statut: {result['message_status']}")
else:
print(f"❌ Erreur: {result.get('error')}")
✅ Réponse de Succès (201)
{
"success": true,
"message": "Torrent uploadé avec succès! En attente de validation.",
"metadata": {
"torrent_id": 57,
"title": "S02 E01 Demon Slayer Season 2",
"type": "Série",
"version": "VOSTFR",
"quality_format": "BluRay",
"file_size": "288.63 MB",
"file_size_bytes": 295559,
"year": 2021,
"genre": "Action, Adventure, Supernatural",
"duration": "24 min",
"imdb_rating": 9.1,
"synopsis": "La quête de Tanjiro continue...",
"season": 2,
"episode": 1
},
"status": "pending",
"message_status": "⏳ En attente de modération par les administrateurs",
"torrent_path": "upload/2026-01-10_demon_slayer_season_2_1768048954/demon_slayer_season_2.torrent"
}
❌ Réponse d'Erreur (400)
{
"error": "Description de l'erreur",
"missing_fields": ["field1", "field2"]
}