![]() |
|
Demo token 68a8a656-1811-409a-9418-dae2631e2320 (The token is valid on average for about three days).
Register and receive a token to access the API. The token will be available in your personal account.
date of update: 2024-12-21 06:01
quantity: 66
JSON:
<?php
// Demo token. (Replace it with your token).
$token = '68a8a656-1811-409a-9418-dae2631e2320';
$url = 'https://wildtracks.pro/api/water/all/aw/json/'.$token;
// We receive confirmation via the LINK
$jsonData = file_get_contents($url);
// Checking if the data was received successfully
if ($jsonData === false) {
die('Error receiving data from the URL');
}
// Converting JSON to an associative array
$dataArray = json_decode($jsonData, true);
// Checking if it was possible to convert JSON to an array
if ($dataArray === null) {
die('Error decoding JSON');
}
// Output an array
echo "<pre>";
print_r($dataArray);
echo "</pre>";
?>
Type:
Harbor(s) (HBR ) (A haven or space of deep water so sheltered by the adjacent land as to afford a safe anchorage for ships) | 4 |
Cove(s) (COVE ) (A small coastal indentation, smaller than a bay) | 23 |
Intermittent stream (STMI ) | 18 |
Lagoon (LGN ) (A shallow coastal waterbody, completely or partly separated from a larger body of water by a barrier island, coral reef or other depositional feature) | 4 |
Reef(s) (RF ) (A surface-navigation hazard composed of consolidated material) | 1 |
Bay (BAY ) (A coastal indentation between two capes or headlands, larger than a cove but smaller than a gulf) | 4 |
Waterhole(s) (WTRH ) (A natural hole, hollow, or small depression that contains water, used by man and animals, especially in arid areas) | 5 |
Stream (STM ) (A body of running water moving to a lower level in a channel on land) | 1 |
Strait (STRT ) (A relatively narrow waterway, usually narrower and less extensive than a sound, connecting two larger bodies of water) | 1 |
Inlet (INLT ) (A narrow waterway extending into the land, or connecting a bay or lagoon with a larger body of water) | 1 |
Bight(s) (BGHT ) (An open body of water forming a slight recession in a coastline) | 1 |
Channel (CHN ) (The deepest part of a stream, bay, lagoon, or strait, through which the main current flows) | 1 |
Spring(s) (SPNG ) (A place where ground water flows naturally out of the ground) | 1 |
Pool(s) (POOL ) (A small and comparatively still, deep part of a larger body of water such as a stream or harbor; or a small body of standing water) | 1 |
Description of fields:
name | Name |
alternatenames | Alternative names |
latitude | Estimated latitude (wgs84) |
longitude | Estimated longitude (wgs84) |
feature_code | Type of stream, lake... (link) |
modification_date | Date added or modified |
country_code | ISO-3166 2-letter country code, 2 characters |
dem | Digital elevation model, srtm3 or gtopo30, average elevation of 3''x3'' (ca 90mx90m) or 30''x30'' (ca 900mx900m) area in meters, integer. srtm processed by cgiar/ciat. |
timezone | The iana timezone id (link) |