/vehicles/53

homecaret-rightvehiclescaret-right

53

API Endpoint:

Request:

fetch("https://swapi.info/api/vehicles/53")
    .then((res) => res.json()) // Parse the JSON content from the API to be consumed
    .then((json) => console.log(json)) // Log the JSON response to your console
    .catch((error) => console.error(error)) // Log the API error (if any) to your console

Result:

{
  "name": "AT-TE",
  "model": "All Terrain Tactical Enforcer",
  "manufacturer": "Rothana Heavy Engineering, Kuat Drive Yards",
  "cost_in_credits": "unknown",
  "length": "13.2",
  "max_atmosphering_speed": "60",
  "crew": "6",
  "passengers": "36",
  "cargo_capacity": "10000",
  "consumables": "21 days",
  "vehicle_class": "walker",
  "pilots": [],
  "films": [
    "https://swapi.info/api/films/5",
    "https://swapi.info/api/films/6"
  ],
  "created": "2014-12-20T18:10:07.560000Z",
  "edited": "2014-12-20T21:30:21.728000Z",
  "url": "https://swapi.info/api/vehicles/53"
}
eye-open
Good