✨ v1.3.0
🚀 New Features
-
Added environment switching support:
You can now specifyenv="cn"
orenv="global"
when initializing the client to choose between Mainland China and Global environments.# Default is Mainland China (env="cn") client = JustOneAPIClient(token="your_token") # For Global users (outside Mainland China) client = JustOneAPIClient(token="your_token", env="global")
🌐 Why it matters
This feature helps improve request performance based on your geographical location.
If you're outside Mainland China and experiencing slow responses, switching to env="global"
can significantly reduce latency.