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

{
    "id": 2,
    "name": "Semnan Space Center, Islamic Republic of Iran",
    "country_code": "IRN",
    "description": "",
    "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/location_2_20200803142458.jpg",
    "timezone_name": "Asia/Tehran",
    "total_launch_count": 14,
    "total_landing_count": 0,
    "pads": [
        {
            "id": 88,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/88/?format=api",
            "agency_id": 34,
            "name": "Imam Khomeini Spaceport",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Imam_Khomeini_Spaceport",
            "map_url": "https://www.google.com/maps?q=35.237005,53.9505",
            "latitude": 35.237005,
            "longitude": 53.9505,
            "country_code": "IRN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_88_20200803143310.jpg",
            "total_launch_count": 6
        },
        {
            "id": 58,
            "url": "https://ll.thespacedevs.com/2.2.0/pad/58/?format=api",
            "agency_id": null,
            "name": "Safir Launch Pad",
            "description": null,
            "info_url": null,
            "wiki_url": "https://en.wikipedia.org/wiki/Semnan_Space_Center#Circular_launch_platform",
            "map_url": "https://www.google.com/maps?q=35.23462,53.920936",
            "latitude": 35.23462,
            "longitude": 53.920936,
            "country_code": "IRN",
            "map_image": "https://spacelaunchnow-prod-east.nyc3.digitaloceanspaces.com/media/launch_images/pad_58_20200803143301.jpg",
            "total_launch_count": 8
        }
    ]
}