Make location call to correct api