I think the advantage of going with Lorna Jane’s set-up is that you can use OAuth rather than hard-coding usernames and passwords in your code as is required in the GAPI PHP class.