Search:
Game Publisher
Author Machine

getMachineTypesForPublisher

Brings back an array containing key-value pairs of the machines for which a given publisher produced items. This call is useful, for example, if you want to see which machines a given software company (i.e. "The 4th Dimension") produced games for. The call takes the following form:

http://www.everygamegoing.com/api/v1/getMachineTypesForPublisher/[publisher_key]/[publisher_value]

Note: Both [publisher_key] and [publisher_value] are mandatory parameters.

The [publisher_key] can be one of the following strings:

  1. publisher_id
  2. publisher_info
  3. publisher_folder

You then place the value on which to search in the [publisher_value]. Note that publisher_info is the name of the publisher (and so must be UU-encoded).

The following illustrations all bring back the same response, but show the three different ways the call can be used:

http://www.everygamegoing.com/api/v1/getAllItemIDs/publisher_info/A%20'N%20F
http://www.everygamegoing.com/api/v1/getMachineTypesForPublisher/publisher_id/1/
http://www.everygamegoing.com/api/v1/getMachineTypesForPublisher/publisher_folder/anf/

All will return a response similar to the following:

{
	"response":
	[
		{
			"machine_type_id":52,
			"show_title":"Acorn Atom"
		},
		{
			"machine_type_id":7,
			"show_title":"Acorn Electron"
		},
		{
			"machine_type_id":8,
			"show_title":"Amstrad CPC464"
		},
		{
			"machine_type_id":36,
			"show_title":"BBC Model A"
		},

		...

		{
			"machine_type_id":25,
			"show_title":"Spectrum 48K"
		},
		{
			"machine_type_id":284,
			"show_title":"Toshiba MSX"
		}
	]
}

 
You can see a practical use of this API command whenever you search for a publisher on the Everygamegoing site. An additional filter appears above the search result, allowing the user to narrow down the results to a particular machine if he wishes.