Что-то такое:
def get_vk(latitude, longitude, distance, min_timestamp, max_timestamp, getProfiles):
get_request = '/method/photos.search?lat=' + location_latitude
get_request += '&long=' + location_longitude
get_request += '&count=100'
get_request += '&radius=' + distance