OdyseeTeam / odysee-api

API server for Odysee
https://odysee.com
MIT License
229 stars 49 forks source link

support environement param for get call #449

Closed tzarebczan closed 2 years ago

tzarebczan commented 2 years ago

Right now we've mostly been testing, so the backend for membership, etc checks are on the test env.

When we go live, we need a way to tell odysee-api if it should use live or test

the param for the internal apis call is: environment

values: live / test

assume live, but if test passed, use test.