예제 #1
0
def get_cities(state_name_or_code):
    cities = LGA.get_all_cities(urllib.unquote(state_name_or_code))
    return Response(dumps(cities), mimetype='application/json')
예제 #2
0
def get_cities(state_name_or_code):
    cities = LGA.get_all_cities(urllib.unquote(state_name_or_code))
    return Response(dumps(cities), mimetype='application/json')
예제 #3
0
def get_lgas(state_name_or_code):
    lgas = LGA.get_all_lgas(urllib.unquote(state_name_or_code))
    return Response(dumps(lgas), mimetype='application/json')
예제 #4
0
def get_lgas(state_name_or_code):
    lgas = LGA.get_all_lgas(urllib.unquote(state_name_or_code))
    return Response(dumps(lgas), mimetype='application/json')