API for GPS client