smalot/magento-client — pull request #4 by vduglued (2014-03-21 10:09:14+00:00)
Title: Fixed "Invalid api path." error on logout

Magento was complaining because there was no resource/action matching "logout". Instead, I'm calling the API's endSession method. The error wasn't initially visible because $this->call had its second param (throwExceptions) set to false.