Make a demo for get location using api