Sorry if this is a silly question. I don’t know much at all about APIs, so I’m not entirely sure whether there are any search terms I could use to find the answer to my question myself.
He suggests using https://online-go.com/termination-api/game/<id>. But what’s the difference between this and https://online-go.com/api/v1/games/<id>? If I navigate to them, I can see an obvious visual difference, and that the json is smaller in that it has fewer fields - same with termination-api/player/<id> as opposed to api/v1/players/<id>.
Is the termination-api not a Rest api? Is it faster, or less taxing on the server? Does one of these contain data that is generated on demand, while the other does not?
I don’t know either.
The only thing I know is that I was aware of termination api existence way later than v1, so I believe that’s a newer thing.
Many of my queries are still using v1.
The termination-api endpoint is much faster and easier on the servers, the v1 stuff exists for backwards compatibility but should be avoided in general.