Brings back an array of key value pairs describing the different types of "things" that currently exist on the Everygamegoing web site.
https://www.everygamegoing.com/api/getAllPaarentTypes/ |
This command requires no parameters.
Most things included upon items are games, but this is not always the case. In the case of compilations, or electronic magazines, an item (i.e. a physical cartridge or other type of media) may contain demos, pictures, articles and all sorts of other things. At database level, the things have not only specific ids (i.e. thing_id), they also have a paarent_type_id which corresponds to the 'type' of thing they are. For example, type 1 is a game, type 2 is a utility, type 3 is a demo ... etc.
This command merely tells you which paarent_type_id corresponds to which type of thing. At time of writing, it returns the following response:
{ "response": [ { "paarent_type_id":"1", "paarent_type_name":"Game" }, { "paarent_type_id":"2", "paarent_type_name":"Utility" }, { "paarent_type_id":"3", "paarent_type_name":"Demo" }, { "paarent_type_id":"4", "paarent_type_name":"Educational" }, { "paarent_type_id":"5", "paarent_type_name":"Picture" }, { "paarent_type_id":"6", "paarent_type_name":"Review" }, { "paarent_type_id":"7", "paarent_type_name":"Article" }, { "paarent_type_id":"8", "paarent_type_name":"Solution" }, { "paarent_type_id":"9", "paarent_type_name":"Letter" }, { "paarent_type_id":"10", "paarent_type_name":"Opener" }, { "paarent_type_id":"11", "paarent_type_name":"Advert" }, { "paarent_type_id":"12", "paarent_type_name":"Cheat" }, { "paarent_type_id":"13", "paarent_type_name":"Adventure" }, { "paarent_type_id":"14", "paarent_type_name":"Emulator" }, { "paarent_type_id":"15", "paarent_type_name":"Music Demo" }, { "paarent_type_id":"16", "paarent_type_name":"Mini-Compilation" } ] }
You can use the paarent_type_id with calls such as getAllThingIDs to narrow down the thing_ids returned. This process is throughly described in the documentation for that call.
Whilst the above should satisfy most needs, there is an additional, optional parameter called [paarent_type_id]. This is a filter and including it will narrow down the subset of data which the call returns. This [paarent_type_id] is an integer and must take one of the following values: