wro
Methods relating to WRO locations, linked planes and map information.
country_list | Get a list with all countries that have current Wrecks and Relics locations. Some countries are split into states which come into a separate element in the response. Countries without locations split per state will have an empty states element. This method does not require any parameters and has no options to filter the results. |
last_update | Get the date of the last update to a Wrecks and Relics location in each country. Optionally a date can be given as a parameter which will limit the return values to those countries that had updates since that date. Or, a geo name (country or state) can be given as a parameter and the last update for that geo will be returned only (and will ignore the date parameter). Updates include all updates performed on the location (like name, coordinates, status etc), it does not include any updates performed on the linked planes, pictures or comments. Locations that are no longer current will be set to the status of 'removed', but will remain in the database. In isolated cases locations are completely deleted from the database, for example due to obvious duplicates. Deleted locations will not be considered in determining the last update. |
locations_by_coordinates | Select all Wrecks and Relics location close to a given set of coordinates. All locations within a bounding box around the coordinates will be selected. The radius parameter defines how large the bounding box will be. A value of 1 will draw a box the size of one degree, 2 will draw a box the size of one tenth of a degree, and so on. Due to the way coordinates are calculated, the bounding box near the equator will be larger than the bounding box around a set of coordinates near the poles. |
locations_by_country | Get all current Wrecks and Relics locations for given country. List is sorted by location name and includes the coordinates and link to location page on Spottingmode. |
locations_by_type | Get all the locations worldwide where planes of the given type can be found. This method will return all current locations where one or more planes of the given type are linked to. |
map_locations | Retrieve a list of Wrecks and Relics locations for use on a geographical map. Available for direct download in csv format, or standard json format. |
planes_by_type | Get all the planes of a given type that are linked to a Wrecks and Relics location. |
gnrl
General calls for system and supporting information.
type_list | Returns a list of system defined types by full type name. The first letter must be given on which the returned types are selected. Selection is on full name which includes the company name. If no first letter is given the default 'a' will be used. Note that only system defined types are returned, user defined types cannot be retrieved. |
type_search | Search for a system defined main type based on (part of) the type name. Most system defined types have extra search names associated with them to allow searching on alternative type designators. The Douglas DC-3 for example may also be found on C-47, C-53, Skytrain, Dakota, CC-129, Tp-79 and more names. This search option will return all matches on actual main type name and on the search names. |
afld
Airfields entry point with calls to search for airfields in the database.
airfields_by_coordinates | Select all airfields close to a given set of coordinates. All airfields within a bounding box around the coordinates will be selected. The radius parameter defines how large the bounding box will be. A value of 1 will draw a box the size of one degree, 2 will draw a box the size of one tenth of a degree, and so on. Due to the way coordinates are calculated, the bounding box near the equator will be larger than the bounding box around a set of coordinates near the poles. |
search_code | Search for an airfield based on a code. The Spottingmode database contains IATA, ICAO, FAA and TC codes. Every search may be done on all of the codes, or only on one of them. |