open path and location API in client.rb