Skip to content

Version 1.3.0

Latest
Compare
Choose a tag to compare
@justoneapi justoneapi released this 28 Jul 16:47
· 374 commits to main since this release

✨ v1.3.0

🚀 New Features

  • Added environment switching support:
    You can now specify env="cn" or env="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.