location api

test the api