Repository navigation
Getting Started
TMCooper edited this page Oct 25, 2026
·
1 revision
Ce guide vous permet d'installer rapidement le wrapper et de configurer vos instances d'APIs locales.
- Python 3.8+
- Au moins une instance d'API compatible lancée (ex: AnimeSamaApi sur le port
5000et/ou VoirAnime_API sur le port8000).
pip install YoitsuWrapgit clone [https://github.com/TMCooper/YoitsuWrap.git](https://github.com/TMCooper/YoitsuWrap.git)
cd YoitsuWrap
pip install -e .Voici un exemple minimaliste pour rechercher un anime et récupérer ses informations à travers le wrapper : from YoitsuWrap.Config import Config from YoitsuWrap.Anime import Anime
config = Config.create_config(
urls=["[http://127.0.0.1](http://127.0.0.1)"],
ports=[5000, 8000],
path=r"./Telechargements",
sources=["ANIMESAMA", "VOIRANIME"]
)
# 2. Rechercher l'œuvre
frieren = Anime.search_by_name(title="Frieren", config=config, version="vostfr")
print(f"Trouvé : {frieren.get_title()} ({frieren.get_episodes_num()} épisodes)")