API endpoint that allows Location instances to be viewed.

GET:
Return a list of all the existing location instances.

FILTERS:
Parameters - 'name', 'country_code', 'id'
Example - /2.2.0/location/?country_code=USA

GET /2.2.0/location/26/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 26,
    "name": "Tanegashima Space Center, Japan",
    "country_code": "JPN",
    "description": "",
    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_26_20200803142507.jpg",
    "timezone_name": "Asia/Tokyo",
    "total_launch_count": 90,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 209,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/209/?format=api",
            "agency_id": 37,
            "name": "Yoshinobu Launch Complex LP-2",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Yoshinobu_Launch_Complex",
            "map_url": "https://www.google.com/maps?q=30.400938,130.97564",
            "latitude": 30.400938,
            "longitude": 130.97564,
            "country_code": "JPN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_yoshinobu_launch_complex_lp-2_20230707124715.jpg",
            "total_launch_count": 11
        },
        {
            "id": 69,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/69/?format=api",
            "agency_id": null,
            "name": "Unknown Pad",
            "description": null,
            "info_url": null,
            "wiki_url": "",
            "map_url": "https://www.google.com/maps?q=30.401,130.977",
            "latitude": 30.401,
            "longitude": 130.977,
            "country_code": "JPN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_69_20200803143529.jpg",
            "total_launch_count": 0
        },
        {
            "id": 41,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/41/?format=api",
            "agency_id": 37,
            "name": "Yoshinobu Launch Complex LP-1",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Yoshinobu_Launch_Complex",
            "map_url": "https://www.google.com/maps?q=30.400813,130.977748",
            "latitude": 30.400813,
            "longitude": 130.977748,
            "country_code": "JPN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_41_20200803143551.jpg",
            "total_launch_count": 55
        },
        {
            "id": 10,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/10/?format=api",
            "agency_id": 37,
            "name": "Osaki Launch Complex",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Tanegashima_Space_Center",
            "map_url": "https://www.google.com/maps?q=30.3993934,130.9702486",
            "latitude": 30.3993934,
            "longitude": 130.9702486,
            "country_code": "JPN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_10_20200803143519.jpg",
            "total_launch_count": 24
        }
    ]
}