It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Lost of updates on the full description fields today on nearly all of the games, removing some styling html elements. Perhaps a Galaxy-centered fix, or some new changes to the Galaxy client layout?
avatar
WinterSnowfall: Lost of updates on the full description fields today on nearly all of the games, removing some styling html elements. Perhaps a Galaxy-centered fix, or some new changes to the Galaxy client layout?
You may have picked something up in your scans already, but Johny's just linked this in the AF thread.

http://api.gog.prod/v2/games/1499274528?locale=en-US

There's some new stuff in there, most interestingly a list of games included in a package for package games which might be useful.
This is the one for Castles + Castles 2
https://api.gog.com/v2/games/1207658678?locale=en-US
avatar
WinterSnowfall: Lost of updates on the full description fields today on nearly all of the games, removing some styling html elements. Perhaps a Galaxy-centered fix, or some new changes to the Galaxy client layout?
avatar
adaliabooks: You may have picked something up in your scans already, but Johny's just linked this in the AF thread.

http://api.gog.prod/v2/games/1499274528?locale=en-US
Thanks for letting me know! No, I was not aware there was a new API being rolled out out there.

I wonder what they plan to do with the now old endpoints, which I'm currently using for my scans, but I guess they will still be around for a while.
Post edited December 01, 2018 by WinterSnowfall
avatar
WinterSnowfall: Thanks for letting me know! No, I was not aware there was a new API being rolled up out there.

I wonder what they plan to do with the now old endpoints, which I'm currently using for my scans, but I guess they will still be around for a while.
They might continue being available (and probably will be if any site stuff is still dependant on them) if they are automatically generated, otherwise I imagine they will get depreciated in favour of the new ones..

But then, this is GOG, so who knows? :D
avatar
adaliabooks: They might continue being available (and probably will be if any site stuff is still dependant on them) if they are automatically generated, otherwise I imagine they will get depreciated in favour of the new ones..
Well, I'll give them a couple of months or so to "stabilize" and then I'll port my scripts and backend DB structure to the new endpoints. I've been looking for motivation to rewrite everything using SQLAlchemy anyway :P.

Edit: on further analysis, it seems these are the endpoints used to cater for the site's new layout. I've always assumed there were changes in the backend as well, with the introduction of the new site, but I just thought they had a translation layer to the old APIs, not entirely new ones.
Post edited December 01, 2018 by WinterSnowfall
avatar
adaliabooks: But then, this is GOG, so who knows? :D
Hmmm... so the new endpoints are nifty enough to parse for the new UI, I guess, but do you know if they can list changelog info as well? :)
avatar
adaliabooks: But then, this is GOG, so who knows? :D
avatar
WinterSnowfall: Hmmm... so the new endpoints are nifty enough to parse for the new UI, I guess, but do you know if they can list changelog info as well? :)
I asked Johny and he doesn't think they do, but he also said they will probably still change so it might be something added later.
avatar
adaliabooks: I asked Johny and he doesn't think they do, but he also said they will probably still change so it might be something added later.
Thanks again for letting me know :). Yeah... ever changing APIs... a programmer's worst nightmare.

Since the focus with these new endpoints seems to be formatting the data in a way very friendly to the new UI and I assume Galaxy format, I think I won't use them until I really have to. Assuming they are indeed planning to decommission the old ones, because they can very well keep both for compatibility with older Galaxy clients.
Can someone please explain:

a) what the thread title/OP is saying

and

b) why anyone should care

... in plain English?
avatar
Ancient-Red-Dragon: ... in plain English?
The short version: I am keeping an eye on some of GOG's publicly exposed APIs, basically doing some shameless data collection, which is sometimes useful in detecting upcoming games (not announced) and other such things.

This is a thread where I keep track of things and shout out to the community in case I discover anything potentially interesting and worth discussing. Other GOG API users will occasionally drop by and we'll discuss horribly technical stuff that will bore normal people... and that you should not really care about.
The games API is missing a few details, most importantly the downloads, so I don't think it's meant to replace the old products API.
avatar
Yepoleb: The games API is missing a few details, most importantly the downloads, so I don't think it's meant to replace the old products API.
And changelogs, so yes, they are either still not up to par but meant to replace them eventually, or just specifically designed to cater for some parts of Galaxy. Give SCPM some time and I'm sure he will let us know if that's the case or not :).
And today all entries/games with Chinese language support received the following update:

"languages": {
"cn": "中文",


became:

"languages": {
"cn": "中文(简体)",


Now I have to figure out what installers were actually updated in all this mess. Wish me luck :).
avatar
adaliabooks: I asked Johny and he doesn't think they do, but he also said they will probably still change so it might be something added later.
avatar
WinterSnowfall: Thanks again for letting me know :). Yeah... ever changing APIs... a programmer's worst nightmare.
What about programming language changes? I don't mean just standard libraries, but i mean actual syntax changes? This stuff makes me just want to finish writing my assembler and then write a VM and then port my assembler just so i can finally live in peace.

But that has nothing to do with gog...
avatar
kohlrak: What about programming language changes?
It depends, but yes, your mileage may vary. I'm quite happy programming in Python 3 now, having started with 2, for example, so change is not necessarily a bad thing.