DVB Map Pins
    (GET https://www.dvb.de/apps/map/pins)

    :param swlat: South-West Bounding Box Latitude
    :param swlng: South-West Bounding Box Longitude
    :param nelat: North-East Bounding Box Latitude
    :param nelng: North-East Bounding Box Longitude
    :param pintypes: Types to search for, defaults to 'stop'
    :param raw: Return raw response
    :return:

def pins(swlat, swlng, nelat, nelng, pintypes='stop', *, raw=False):
    """
    DVB Map Pins
    (GET https://www.dvb.de/apps/map/pins)

    :param swlat: South-West Bounding Box Latitude
    :param swlng: South-West Bounding Box Longitude
    :param nelat: North-East Bounding Box Latitude
    :param nelng: North-East Bounding Box Longitude
    :param pintypes: Types to search for, defaults to 'stop'
    :param raw: Return raw response
    :return:
    """
    try:
        swlat, swlng = wgs_to_gk4(swlat, swlng)
        nelat, nelng = wgs_to_gk4(nelat, nelng)
        r = requests.get(
            url='https://www.dvb.de/apps/map/pins',
            params={
                'showlines': 'true',
                'swlat': swlat,
                'swlng': swlng,
                'nelat': nelat,
                'nelng': nelng,
                'pintypes': pintypes,
            },
        )
        if r.status_code == 200:
            response = json.loads(r.content.decode('utf-8'))
        else:
            raise requests.HTTPError('HTTP Status: {}'.format(r.status_code))
    except requests.RequestException as e:
        print('Failed to access DVB map pins app. Request Exception', e)
        response = None

    if response is None:
        return None

    return response if raw else [pins_return_results(line, pintypes) for line in response]