v2.0!
🌟 Onepyece v2.0 - Now with Multilanguage Support! 🌍
We're thrilled to announce the release of Onepyece version 2.0! Introducing multilanguage support.
What's New?
- Multilanguage Support: You can now generate an
API
object with a language parameter, allowing you to fetch data in either French or English.
How to Use?
Simply specify the `lang` parameter when creating your API
object. English is the default language if no parameter is set. Here's how you can use it:
import onepyece as op
# Fetch episodes in English
episodes = op.API('episodes', lang='en')
# Pour récupérer des épisodes en français
episodes_fr = op.API('episodes', lang='fr')
Available Languages
- English (default)
- French