getting data from api and showing coords