asimlqt / php-google-spreadsheet-client

A PHP library for accessing and manipulating Google Spreadsheets
Other
544 stars 152 forks source link

V4 API #161

Closed morrislaptop closed 8 years ago

morrislaptop commented 8 years ago

Are you upgrading to this or do you recommend using Google's PHP SDK?

asimlqt commented 8 years ago

Good question, I've not really had a chance to look into it yet properly. I did have a quick look a while back and the (Official) Google API seems a lot easier to use now since it uses JSON and not XML.

It would mean a complete rewrite though so I need to decide whether there is a significant benefit to warrant a rewrite.

What are your thoughts?

morrislaptop commented 8 years ago

I'll have a look and post some sample code later On Mon., 19 Sep. 2016 at 8:07 am, Asim Liaquat notifications@github.com wrote:

Good question, I've not really had a chance to look into it yet properly. I did have a quick look a while back and the (Official) Google API seems a lot easier to use now since it uses JSON and not XML.

It would mean a complete rewrite though so I need to decide whether there is a significant benefit to warrant a rewrite.

What are your thoughts?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/asimlqt/php-google-spreadsheet-client/issues/161#issuecomment-247923756, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEI37413xVdS6jBuaOFMMMIYX05f0kqks5qrjS0gaJpZM4J_Bx9 .

morrislaptop commented 8 years ago

tl;dr I'm not going to upgrade on existing projects but would use it for a new project.

API is definitely not as nice as the extra features (e.g. inserting formulas, specifying ranges) make it more complicated. I think I would use the PHP SDK for my next project as it's one less dependency and I think I'd be able to wrap my head around the complexity.