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.0.0/location/?country_code=USA

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

{
    "id": 16,
    "name": "Xichang Satellite Launch Center, People's Republic of China",
    "country_code": "CHN",
    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_16_20200803142513.jpg",
    "total_launch_count": 204,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 157,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/157/?format=api",
            "agency_id": null,
            "name": "Mobile Launcher Pad",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Xichang_Satellite_Launch_Center",
            "map_url": "https://www.google.com/maps?q=28.242774,102.032944",
            "latitude": 28.242774,
            "longitude": 102.032944,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_157_20200803143359.jpg",
            "total_launch_count": 5
        },
        {
            "id": 66,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/66/?format=api",
            "agency_id": 17,
            "name": "Launch Complex 3 (LC-3/LA-1)",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Xichang_Satellite_Launch_Center",
            "map_url": "https://www.google.com/maps?q=28.247209,102.02917",
            "latitude": 28.247209,
            "longitude": 102.02917,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_66_20200803143611.jpg",
            "total_launch_count": 91
        },
        {
            "id": 45,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/45/?format=api",
            "agency_id": null,
            "name": "Launch Complex 2 (LC-2)",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Xichang_Satellite_Launch_Center",
            "map_url": "https://www.google.com/maps?q=28.245564,102.026751",
            "latitude": 28.245564,
            "longitude": 102.026751,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_45_20200803143520.jpg",
            "total_launch_count": 108
        },
        {
            "id": 86,
            "url": "https://ll.thespacedevs.com/2.0.0/pad/86/?format=api",
            "agency_id": 17,
            "name": "Unknown Pad",
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Xichang_Satellite_Launch_Center",
            "map_url": "https://www.google.com/maps?q=28.246017,102.026556",
            "latitude": 28.246017,
            "longitude": 102.026556,
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_86_20200803143555.jpg",
            "total_launch_count": 0
        }
    ]
}