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/3/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "id": 3,
    "name": "Sea Launch",
    "country_code": "",
    "description": "",
    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_3_20200803142448.jpg",
    "timezone_name": "",
    "total_launch_count": 49,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 147,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/147/?format=api",
            "agency_id": null,
            "name": "Novomoskovsk (K-407)",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Russian_submarine_Novomoskovsk_(K-407)",
            "map_url": "https://www.google.com/maps?q=74.000000,38.000000",
            "latitude": 74.0,
            "longitude": 38.0,
            "country_code": "RUS",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_147_20200803143422.jpg",
            "total_launch_count": 1
        },
        {
            "id": 148,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/148/?format=api",
            "agency_id": null,
            "name": "Borisoglebsk (K-496)",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Russian_submarine_Borisoglebsk_(K-496)",
            "map_url": "https://www.google.com/maps?q=74.0000,38.0000",
            "latitude": 74.0,
            "longitude": 38.0,
            "country_code": "RUS",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_148_20200803143426.jpg",
            "total_launch_count": 1
        },
        {
            "id": 186,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/186/?format=api",
            "agency_id": 88,
            "name": "Tai Rui mobile launch platform",
            "description": null,
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=34.899444,121.190278",
            "latitude": 34.899444,
            "longitude": 121.190278,
            "country_code": "CHN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_long_march_11_launch_platform_20200901183938.jpg",
            "total_launch_count": 3
        },
        {
            "id": 144,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/144/?format=api",
            "agency_id": 88,
            "name": "DeBo 3 mobile launch platform",
            "description": null,
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=34.311667,123.761111",
            "latitude": 34.311667,
            "longitude": 123.761111,
            "country_code": "CHN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_144_20200803143251.jpg",
            "total_launch_count": 1
        },
        {
            "id": 13,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/13/?format=api",
            "agency_id": 80,
            "name": "Launch Platform Odyssey",
            "description": "",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Odyssey_(launch_platform)",
            "map_url": "https://www.google.com/maps?q=0.0,-154",
            "latitude": 0.0,
            "longitude": -154.0,
            "country_code": "",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_13_20200803143257.jpg",
            "total_launch_count": 36
        },
        {
            "id": 149,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/149/?format=api",
            "agency_id": null,
            "name": "Ekaterinburg (K-84)",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Russian_submarine_Ekaterinburg_(K-84)",
            "map_url": "https://www.google.com/maps?q=74.000000,38.0000",
            "latitude": 74.0,
            "longitude": 38.0,
            "country_code": "RUS",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_149_20200803143409.jpg",
            "total_launch_count": 1
        },
        {
            "id": 212,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/212/?format=api",
            "agency_id": 88,
            "name": "Haiyang Spaceport",
            "description": "Sea-based spaceport",
            "info_url": null,
            "wiki_url": null,
            "map_url": null,
            "latitude": 36.676794,
            "longitude": 121.235103,
            "country_code": "CHN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_haiyang_spaceport_20230827174240.jpg",
            "total_launch_count": 1
        },
        {
            "id": 101,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/101/?format=api",
            "agency_id": null,
            "name": "Unknown Pad",
            "description": "",
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=0.0,0.0",
            "latitude": null,
            "longitude": null,
            "country_code": "UKN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_101_20200803143204.jpg",
            "total_launch_count": 0
        },
        {
            "id": 89,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/89/?format=api",
            "agency_id": 88,
            "name": "DeFu-15002 mobile launch platform",
            "description": null,
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=36.631333,121.198361",
            "latitude": 36.631333,
            "longitude": 121.198361,
            "country_code": "CHN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_89_20200803143242.jpg",
            "total_launch_count": 2
        },
        {
            "id": 217,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/217/?format=api",
            "agency_id": null,
            "name": "Bo Run Jiu Zhou mobile launch platform",
            "description": "",
            "info_url": null,
            "wiki_url": null,
            "map_url": "https://www.google.com/maps?q=21.283333,112.0",
            "latitude": 21.283333,
            "longitude": 112.0,
            "country_code": "CHN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_bo_run_jiu_zhou_mobile_launch_platform_20231206001303.jpg",
            "total_launch_count": 3
        }
    ]
}