Method: wro - planes_by_type

Get all the planes of a given type that are linked to a Wrecks and Relics location.

Entry point:
wro
Method name:
planes_by_type
Url:
https://www.spottingmode.com/api/wro/planes_by_type/
create an url with the url creator tool
Daily limit:
1.000
Weekly limit:
-
Monthly limit:
-
Authentication required:
Api key

Method parameters

NameTypeOptionalDescription
main_type_idintegerThe id of the main type for which to retrieve the plane records. Obtain the id through the type search or type list methods.
numintegeroptionalTotal number of records to retrieve, default is 100, maximum is 500.
startintegeroptionalStart value for pagination, default is 0. Note that counting starts at 0, not 1.

Method response

Response formats available for this method: json, xml

json
{"planes": [
  {
    "registration": "FA01",
    "code": "",
    "cn": "6H-1",
    "plane_type_name": "F-16A",
    "country_name": "Belgium",
    "service": "Air Force",
    "status": "Preserved",
    "main_type_name": "General Dynamics F-16 Fighting Falcon",
    "url": "http:\/\/www.spottingmode.com\/wro\/location\/2433\/"
  },{
    "registration": "FA02",
    "code": "",
    "cn": "6H-2",
    "plane_type_name": "F-16A",
    "country_name": "Belgium",
    "service": "Air Force",
    "status": "Preserved",
    "main_type_name": "General Dynamics F-16 Fighting Falcon",
    "url": "http:\/\/www.spottingmode.com\/wro\/location\/5916\/"
  },{
    "pagination": {
      "start": 0,
      "num": 100,
      "totalrows": 115}
  }]
}
xml
<root>
  <planes>
    <plane>
      <registration>FA01</registration>
      <code></code>
      <cn>6H-1</cn>
      <plane_type_name>F-16A</plane_type_name>
      <country_name>Belgium</country_name>
      <service>Air Force</service>
      <status>Preserved</status>
      <main_type_name>General Dynamics F-16 Fighting Falcon</main_type_name>
      <url>http://www.spottingmode.com/wro/location/2433/</url>
    </plane>
    <plane>
      <registration>FA02</registration>
      <code></code>
      <cn>6H-2</cn>
      <plane_type_name>F-16A</plane_type_name>
      <country_name>Belgium</country_name>
      <service>Air Force</service>
      <status>Preserved</status>
      <main_type_name>General Dynamics F-16 Fighting Falcon</main_type_name>
      <url>http://www.spottingmode.com/wro/location/5916/</url>
    </plane>
    <pagination>
      <start>0</start>
      <num>100</num>
      <totalrows>115</totalrows>
    </pagination>
  </planes>
</root>