Opening Up

Posted in

#26 by Yorhel
2021-03-05 at 07:25
< report >Primarily, integration with the new advanced search system, which is rather more powerful than the filters in the current API. I'm also looking into ways to provide more control over what (sub)fields to fetch in each command, but that still needs to be fleshed out.

Other than that I expect functionality to be mostly the same.
#27 by Yorhel
2021-03-11 at 10:22
< report >Another update for tomorrow's dump:
- Tag identifiers have been converted to the new vndbid type
- The 'tag' column in tags_parents has been renamed to 'id', for consistency with other multi-table database entries
- The tags_aliases table has been merged into the 'alias' column of the tags table, for consistency with how trait aliases are already stored.

I expect that the first two changes will be applied to traits in the near future as well.
I don't have any breaking changes planned after that, so things ought to stabilize again. :)
#28 by some-guy
2021-03-11 at 18:12
< report >That includes the vndb-tags-latest.json dump I suppose? So e.g.

{
"aliases": ["Psychic Powers", "Mental Powers", "Telepathy", "Psionic Abilities"],
"applicable": true,
"cat": "cont",
"description": "This game features elements and themes related to the [url=http://en.wikipedia.org/wiki/Extrasensory_perception]extrasensory perception[/url] concept.",
"id": 3,
"meta": false,
"name": "ESP",
"parents": [2],
"searchable": true,
"vns": 162
}

will become

{
"aliases": ["Psychic Powers", "Mental Powers", "Telepathy", "Psionic Abilities"],
"applicable": true,
"cat": "cont",
"description": "This game features elements and themes related to the [url=http://en.wikipedia.org/wiki/Extrasensory_perception]extrasensory perception[/url] concept.",
"id": "t3",
"meta": false,
"name": "ESP",
"parents": ["t2"],
"searchable": true,
"vns": 162
}

?Last modified on 2021-03-11 at 18:13
#29 by Yorhel
2021-03-11 at 18:21
< report >Nope, I consider those dumps to be part of the stable API, so not breaking that.
(Also, tags have a g prefix, so g2, g3 etc)Last modified on 2021-03-11 at 18:25
#30 by some-guy
2021-03-11 at 19:56
< report >Got it, thanks!
#31 by Yorhel
2021-03-23 at 10:24
< report >
I expect that the first two changes will be applied to traits in the near future as well.
Tomorrow, in fact.

Reply

You must be logged in to reply to this thread.