shuttleai / shuttleai-python

The official Python library for the ShuttleAI API
https://pypi.org/project/shuttleai/
MIT License
5 stars 2 forks source link

Possible Future Issue. #2

Closed populated closed 7 months ago

populated commented 8 months ago

As of now, the library relies on the base URL https://api.shuttleai.app/v1. The problem with this is the hard-coded version v1. If any groundbreaking changes happen to the API, such as deprecation, etc., that would break this library. Maybe switch it to just https://api.shuttleai.app/ and make it automatically use the latest API version (the API itself), but still allow v1, etc., similar to how Discord handles versioning.

tristandevs commented 8 months ago

oh

tristandevs commented 8 months ago

ok

tristandevs commented 8 months ago

ty

tristandevs commented 8 months ago

herumes commented 8 months ago

you can create a pr for this if youd like, if not, im sure itll be fixed/implemented whenever or if we decide to do other endpoints besides /v1 (we have discussed a /v2)

ty for bringing it up and ty for ur prs, much appreciated 😄