Тёмный

Google Sheets and PHP 

Twilio
Подписаться 80 тыс.
Просмотров 115 тыс.
50% 1

Опубликовано:

 

24 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 180   
@twilio
@twilio 5 лет назад
Now that you know how to use Google Sheets with PHP, what will you build?
@oguz-kagan
@oguz-kagan 5 лет назад
can i use in web?(i am really beginner :) )
@twilio
@twilio 5 лет назад
@@oguz-kagan Absolutely! You could definitely use this in a web project.
@netboy1102
@netboy1102 5 лет назад
good tourtorial, but for me is that bit difficult to write my php for a taxifare calculator
@maximusTVfull
@maximusTVfull 5 лет назад
How could I get row by a specific value, for example, token or id?
@RajPatel-uh9nd
@RajPatel-uh9nd 5 лет назад
@@twilio Hi, First of all Thank you so much for this awesome video. I have one question, at 5:15 you are talking about updating E2 and F2 (Two Rows) but how can I update E2 and E3 (Two Columns). Can you guide me? Thanks.
@chrismuiruri
@chrismuiruri 4 года назад
This is by far one of the BEST tutorials on RU-vid, you can argue with your keyboard.
@vladagrigoroae1767
@vladagrigoroae1767 3 года назад
amazing tutorial, thanks, 8 minutes and you're on handling google sheets from PHP. Since the tutorial was written google console changed a bit in the fact that the JSON file will no longer be given to you at the completion of the config screen as in the video, you need to go under keys -> create -> and then download the credentials file.
@12centuries
@12centuries 5 лет назад
This is literally the greatest video in existence. Perfectly done, right to the point and covered all bases. Stanley Kubrick could learn a thing or two from you guys. Thanks for the great info!
@twilio
@twilio 5 лет назад
Thanks for watching and for the kind words!
@arunvr1608
@arunvr1608 5 лет назад
Thank you! Probably the best done video tutorial. Clear, concise, perfect speed. Right amount of content & explanation
@twilio
@twilio 5 лет назад
Thanks for watching and for the kind words. Hope it helped!
@darthleonard
@darthleonard 5 лет назад
I agree
@anaskanhouch478
@anaskanhouch478 4 года назад
tried to read different online tutorials and following documentation and their code on Github and couldn't find what I want, so I decide to watch this video as last try. You explanation is clear, structured, organized, beyond what I wanted and expected. thanks a lot
@ujirooduokpe8243
@ujirooduokpe8243 3 года назад
Thank you for all that you do. In fact, google should recommend this video as their official documentation. It's much easier to understand than the gibberish they wrote on their official page. You're just the best. You've saved me a lot of time.
@даня-ы3б2к
@даня-ы3б2к 5 лет назад
I just finished my project in time thanks to your video. You saved me so much time. Thank you man. I mean it
@twilio
@twilio 5 лет назад
I’m glad we could help!
@xCalecax
@xCalecax 3 года назад
I don't usually comment on videos. But this one really did it for me. Just perfect! Deserves more views!
@twilio
@twilio 3 года назад
Thanks for watching! Glad it was helpful 😀
@onebitrocket
@onebitrocket 5 лет назад
This was so helpful. I was running into issues on private shared drives with the v3 sheets api. Thanks 👏👏
@twilio
@twilio 5 лет назад
Glad we could help!
@francescoloner9539
@francescoloner9539 4 года назад
i have a problem at 5:00, i have this error: PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate can you help me pls??
@toriskin
@toriskin 3 года назад
Big thanks for this great short guide!
@debaterg
@debaterg 4 года назад
this is actually better than the google documentation, which forgot to mention that the $insert parameter is needed.
@candreadiazs
@candreadiazs 3 года назад
Muchas gracias por compartir tus conocimientos. Que gran video!!
@NicopolSpirit
@NicopolSpirit 5 лет назад
Thats was first video that really helped! Thnx!
@twilio
@twilio 5 лет назад
Glad we could help! Thanks for watching 😀
@acidfather
@acidfather 10 месяцев назад
I did all that and after I try to run it to read the data from spreadsheet I got Fatal error: Uncaught Google\Service\Exception: { "error": { "code": 404, "message": "Requested entity was not found.", "errors": [ { "message": "Requested entity was not found.", "domain": "global", "reason": "notFound" } ], "status": "NOT_FOUND" } }
@lucku0
@lucku0 3 месяца назад
did you find a solution? same problem here
@YuriiKosiak
@YuriiKosiak 3 года назад
Like like like! Just awesome! Thank you!
@armanmargaryan6883
@armanmargaryan6883 Год назад
Thank you very much, it's very simple and very useful!
@antonitobing
@antonitobing 3 года назад
Best tutorial, the pace is perfect for dummy like me, many thanks
@JK-pr3lu
@JK-pr3lu Год назад
Thanks for the tutorial. It sounds so simple... I wish it was easier. I have no knowledge of running things in the terminal. It would be helpful if you could make the commands you use available for copy/pasting
@e-learnpro1561
@e-learnpro1561 4 года назад
Many Many Thank's Video helped a lot
@tusharvaghasiya3156
@tusharvaghasiya3156 4 года назад
Very good Sir, I really like this video. very helpful. Thank you very much.
@cooldown6337
@cooldown6337 2 года назад
what if i can't install composer and use ssh terminal?
@jjasonryszka6267
@jjasonryszka6267 4 года назад
Thank you so much. Great tutorial. So much time saved.
@twilio
@twilio 4 года назад
Thanks for watching! I’m glad we could help you.
@cpukid00
@cpukid00 3 года назад
This video has been so awesome in getting me going with the PHP library, so thank you for all of the information! That said, I have a question. In the first example where we're simply trying to get some cells from the sheet, you call the 'GetValues()' function. In trying to use this knowledge to do other things with different API's (Drive and Photos, for example), I can't seem to use this. In my file system (within the PHP library), I'm trying to understand exactly where this 'GetValues()' method is defined, and what I would instead use in other API's. Can you offer any insight here? Thanks for your time and for the great content!
@JaehoonMe
@JaehoonMe 3 года назад
Thank you very much, you helped me a lot!
@twilio
@twilio 3 года назад
Glad I could help!
@supplier409jualharga3
@supplier409jualharga3 3 года назад
very nice. thank you
@XavierLanglois
@XavierLanglois 3 года назад
perfect. thanks ! I use it to generate ad scripts for my websites
@AbhishekKumar-yr5eo
@AbhishekKumar-yr5eo 4 года назад
This is really great tutorial sir, Thank you so much @Twilio
@Nguyen-go2vw
@Nguyen-go2vw 5 лет назад
Sorry, but what can I run composer command with? It isn't cmd, right?
@twilio
@twilio 5 лет назад
If you are on Windows, there's a full guide on installing PHP (including composer) here: www.jeffgeerling.com/blog/2018/installing-php-7-and-composer-on-windows-10
@johnboy4809
@johnboy4809 Год назад
Great video but has there been a change in creating credentials since this video as I do not get asked the same questions and cant get a json file
@NickBaer-gu5mb
@NickBaer-gu5mb 10 месяцев назад
This is 4 years old. A package I paid to have installed i 2019, died today "Token Expired or Revoked". Doesn't anything last?
@hanibioud
@hanibioud 2 года назад
Hey! I'm adding rows in Google Sheets and would love to check if all data from PHP database has been successfully been added into Google Sheet by searching one by one via the ID.
@AliRaza77
@AliRaza77 4 года назад
I think google should hire you for the documentation and product's demo engineer.
@HD-qc5vv
@HD-qc5vv 5 лет назад
Where did the black screen come from? From where I can access it
@twilio
@twilio 5 лет назад
Are you using Windows or Mac? This is a terminal emulator window. On a Mac you would use an app called Terminal. On Windows you can use either Command Prompt or Powershell.
@koala1976
@koala1976 4 года назад
youre the best thank you...
@matheusaugus9855
@matheusaugus9855 2 года назад
witch color theme do you use ? could you send it to me i really like yours ?
@ased4u
@ased4u 4 года назад
Really good video. Thank you!
@Dvoini
@Dvoini 3 года назад
why didn't you post your code?
@testbatch1141
@testbatch1141 4 года назад
I follow your tutorials. And i can run the code in local server. But when i run it with live server, it shows error 500 in console. Why this happen?
@ayyosefo
@ayyosefo 4 года назад
Same here! Did you ever figure it out?
@testbatch1141
@testbatch1141 4 года назад
@@ayyosefo yup. its the case sensitive in the code
@ayyosefo
@ayyosefo 4 года назад
test batch1 thanks! What exactly was case sensitive that was breaking live but not local? Is it the insert values? I appreciate your help
@santiagovalenzuela6651
@santiagovalenzuela6651 5 лет назад
Hi I'm getting some errors with the "autoload.php". I received error with "guzzlehttp". I think that I have too much libraries declare with composer. Did you know how I could create that file again without those libraries? Thanks!
@elmsroth8850
@elmsroth8850 4 года назад
So simple and straigth forward ! Just what I needed, thanks a lot ! How can you search a row based on a cell value ?
@JickLibot
@JickLibot 4 года назад
Thank you very much, you saved my day!
@newborn7850
@newborn7850 4 года назад
from where did u got the interface @0:14, i mean what is api, how to install ?
@pablodeoliveira5142
@pablodeoliveira5142 5 лет назад
Life saver! :D Thank you so much for the video
@adrianzubir7007
@adrianzubir7007 4 года назад
#ASK can i append random size of row to the upper of the table, so the row that build before, move to the bottom of new append row?
@PaulWhiskey
@PaulWhiskey 3 года назад
Thanks you so much!! Is excelent, thank you
@mikegonzalez4092
@mikegonzalez4092 5 лет назад
man youre my hero :D thanks!
@twilio
@twilio 5 лет назад
Glad we could help!
@faisalzubair5065
@faisalzubair5065 2 года назад
@Twilio Great video but how can we do that with C#?
@Priyankmotivaras
@Priyankmotivaras 4 года назад
Thanks ,Worked for me
@ayyosefo
@ayyosefo 4 года назад
Hi, this works great locally but when pushed live, I am receiving a 500 error "an unknown error occurred".
@gokulr8924
@gokulr8924 3 года назад
Json file is not installed
@franciscoroa6876
@franciscoroa6876 4 года назад
this is awesome man ! thanks!
@przemyslawidzczak5268
@przemyslawidzczak5268 4 года назад
Hey, do you have an solution for filtering? I mean I want to get values like this but string value in let's say 3rd column must be exactly "X". I can't find any solution for this
@twilio
@twilio 4 года назад
The data sets I’ve worked with using this have been small enough that I’ve just done filtering locally. I’m also having a hard time finding how to do it in the API. Seems like a simple feature. There’s developers.google.com/sheets/api/reference/rest/v4/spreadsheets/getByDataFilter but it doesn’t seem to do what we want.
@geeksy2278
@geeksy2278 5 лет назад
Awesome thank you!!!
@twilio
@twilio 5 лет назад
You're welcome, thanks for watching!
@datbui8995
@datbui8995 5 лет назад
Thanks you sooooooo much. I tried Quick Start Tutorial of Google but it not work for append data. I started slowly. The tutorial of GG is not good enough for ' A real Quick Start' , but your video is. Thank bro
@evgenyvorontsov3526
@evgenyvorontsov3526 3 года назад
Guys, it works locally, but I get error email 'Domain name not found' when deploying and it ends for me there. The funny thing is that I can't find any thread to look up what might be the issue.
@arbysixteen4116
@arbysixteen4116 5 лет назад
hi! what is the name of the application at 1.03-1.15 ??
@twilio
@twilio 5 лет назад
It's iTerm 2 for the Mac.
@jaypatel1809
@jaypatel1809 4 года назад
How to install in localserver with xampp in windows?
@programming_with_zahid
@programming_with_zahid 3 года назад
would u like to tell how to get all lists of google sheet with their name and id using php? i can see you have put hard coded google sheet id so i need it dynamic please
@micaelbao
@micaelbao 2 года назад
Why does my quickstart fail? Google's document is worse than instructions from users? you are great, thank you so much
@Allformyequine
@Allformyequine Год назад
Can you do this without using Composer?
@tomatomov9061
@tomatomov9061 3 года назад
Why I dont have client_email in my credentials file? I don't get it.
@alexorochiCC
@alexorochiCC 5 лет назад
Thanks, this is so good. You won a new suscriptor
@twilio
@twilio 5 лет назад
Thanks for watching and for the sub!
@elierakotonomenjanahary2150
@elierakotonomenjanahary2150 3 года назад
Thanks. But i got error : google-api-php-client.ERROR: Service parameter missing {"service":"sheets","resource":"values","method":"get","p arameter":"spreadsheetId"} []
@kurdtpage
@kurdtpage 5 лет назад
Why are you using "print"? Why not "echo"?
@twilio
@twilio 5 лет назад
I did use echo. First I formatted the string with sprintf (www.php.net/manual/en/function.sprintf.php) and then used echo.
@subjectfrank
@subjectfrank Год назад
Hello, Where can i find credentials.json file?
@Abphaiboon
@Abphaiboon 5 лет назад
This video helped alot! thanks!
@twilio
@twilio 5 лет назад
We're glad you found it useful, thanks for watching!
@rachidimohamed6640
@rachidimohamed6640 2 года назад
i did the same as you did but $this->service->spreadsheets_values->get($this->documentId, $this->range); giving me this error : array_key_exists(): Argument #2 ($array) must be of type array, null given
@joekustek2623
@joekustek2623 Год назад
Composer can not find files any idea's?
@aumaritsakhon129
@aumaritsakhon129 5 лет назад
Hello Can we make search in a sheet on php?
@faisalzubair5065
@faisalzubair5065 2 года назад
Great video but how can we do that with C#?
@ComputerScienceMaster
@ComputerScienceMaster 4 года назад
Muito bom tutorial... adorei.
@lance_2320
@lance_2320 2 года назад
How to use this to export data as JSON File?
@SkyWalker-v1m
@SkyWalker-v1m Месяц назад
I wasn't able to get further...needs OAuth 2.0
@diegolopez9851
@diegolopez9851 2 года назад
i'm try to use it on a cpanel hosted server but it does not work. why?
@CaboMusicEletro
@CaboMusicEletro 3 года назад
BEST VIDEO EVER S2
@Mr_MadZac
@Mr_MadZac 4 года назад
How can make it work the next function?: My spreadsheet is bonded with a google form wich every day is inserting new rows with a lot of data, but, there is a column wich is blank because i need to insert a verification value (maybe just like "Ok" or "this person asist the citation") in that column for every row that is inserted but i need to insert that verification value via another html form, but i dont know how to do it, because i need to put the Date when that person fillls the main form and the ID of that person and then specify to the php to insert that verification value only in the cell wich is in the same row with the Date and the ID that i put in the verification form, anyone can guide me here?
@hanibioud
@hanibioud 3 года назад
Dude, i'm getting Warning: count(): Parameter must be an array or an object that implements Countable..
@amitpathry3118
@amitpathry3118 3 года назад
any link to the written code?
@RajPatel-uh9nd
@RajPatel-uh9nd 5 лет назад
Hi, First of all Thank you so much for this awesome video. I have one question, at 5:15 you are talking about updating E2 and F2 (Two Rows) but how can I update E2 and E3 (Two Columns). Can you guide me? Thanks.
@rsturks
@rsturks 5 лет назад
E and F are columns. He is updating first name and last name in one row (row 2).
@RajPatel-uh9nd
@RajPatel-uh9nd 5 лет назад
@@rsturks Ya I know but my question is how to update two first name or two last name?
@ДмитрийВасилевский-д6о
THANKS! GOOD MAN!
@mariavillanueva9576
@mariavillanueva9576 4 года назад
How do you implement a workaround for 'too many request' with error code 429 aside from upgrading the account?
@twilio
@twilio 4 года назад
You are probably hitting the rate limit for the API. It’s possible you might just need to slow down the speed at which you are making requests to the API.
@mariavillanueva9576
@mariavillanueva9576 4 года назад
@@twilio we are actually hitting the limit because we have a lot of users triggering the API, but I need to do some workaround about it. hmmm
@abhishekkandari7116
@abhishekkandari7116 2 года назад
Thank you
@favorevole
@favorevole 5 лет назад
What program do you use for PHP editing? It's really nice.
@ftapia
@ftapia 5 лет назад
seems like visual studio code
@redhotmustang
@redhotmustang 5 лет назад
Visual Studio Code, he says so in the video @ 1:17
@twilio
@twilio 5 лет назад
Yep, VS Code.
@favorevole
@favorevole 4 года назад
Thank you guys
@macare-engineering8379
@macare-engineering8379 4 года назад
I wanna know is the credentials service account is a lifetime or would be expired?
@twilio
@twilio 4 года назад
As far as I know the service account does not expire.
@macare-engineering8379
@macare-engineering8379 4 года назад
@@twilio Well, when you go to google developer console ->Credentials you will see "Usage with all services(last 30 days)" beside Service Accounts. What's that mean?
@twilio
@twilio 4 года назад
@@macare-engineering8379 That's showing you how many times the Service Account has been used to make an API call in the past 30 days.
@ottomanempire3746
@ottomanempire3746 3 года назад
you should give a link to your code you have used
@vitaliimolnar9620
@vitaliimolnar9620 5 лет назад
Thanks a lot!
@juansalvadorrodriguezluna9580
@juansalvadorrodriguezluna9580 5 лет назад
Hello, the video helped me to understand the API, but it marks the following error: Uncaught Error: Class 'Google_Services_Sheets', Could you help? please.
@twilio
@twilio 5 лет назад
Hit me up on Twitter @GeeH and I'll give you some help ^G
@merajali938
@merajali938 4 года назад
@twilio, firstly thank you for the great concept, have been implementing it i'm stuck at this error, trying them out, can you please help me out here, I'm trying to Read and Update(mandatory) the Data in the GoogleSheet using API with PHP Here is the error, Fatal error: Uncaught Google_Service_Exception: { "error": { "code": 403, "message": "The request is missing a valid API key.", "errors": [ { "message": "The request is missing a valid API key.", "domain": "global", "reason": "forbidden" } ], "status": "PERMISSION_DENIED" } } in C:\xampp\htdocs\ww\googleapiconnector\vendor\google\apiclient\src\Google\Http\REST.php:118 Stack trace: #0 C:\xampp\htdocs\ww\googleapiconnector\vendor\google\apiclient\src\Google\Http\REST.php(94): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #1 C:\xampp\htdocs\ww\googleapiconnector\vendor\google\apiclient\src\Google\Task\Runner.php(181): Google_Http_REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), 'Google_Service_...') #2 C:\xampp\htdocs\ww\googleapiconnector\vendor\google\apiclient\src\Google\Http\REST.php(58): Google_Task_Runner->run() #3 C:\xampp\htdocs\ww\googleapiconnector\v in C:\xampp\htdocs\ww\googleapiconnector\vendor\google\apiclient\src\Google\Http\REST.php on line 118
@allansetsuki
@allansetsuki 4 года назад
Thank you so much
@twilio
@twilio 4 года назад
You’re welcome!
@walney2008
@walney2008 4 года назад
download script ? tnhks im from Brasil,
@ZaheerAbbas-pn9fx
@ZaheerAbbas-pn9fx 3 года назад
Fatal error: Uncaught Google\Service\Exception: { "error": { "code": 403, "message": "Request had insufficient authentication scopes.", "errors": [ { "message": "Insufficient Permission", "domain": "global", "reason": "insufficientPermissions" } ], "status": "PERMISSION_DENIED" } }
@joseluisrodriguez7675
@joseluisrodriguez7675 4 года назад
Thanks!!!!!!!
@ashishbansal2867
@ashishbansal2867 3 года назад
how to add comments into cell. no code found
@nicolaspistillo6322
@nicolaspistillo6322 3 года назад
where i con found the credentials.json?
@twilio
@twilio 3 года назад
The credentials file is something you download from the Google Cloud console in the last step of setting up the API project shown in the video.
@anhnampham3929
@anhnampham3929 5 лет назад
how to delete rows or columns
@Shkur777
@Shkur777 4 года назад
More easy than in 2010
@ciberboxcontrolescolar2531
@ciberboxcontrolescolar2531 5 лет назад
The best! Nice!
@twilio
@twilio 5 лет назад
Glad you liked it CiberBox!
@kaipro98hii67
@kaipro98hii67 5 лет назад
how to run composer at 1:05
@twilio
@twilio 5 лет назад
Compose is a dependency manager for PHP - you can find out more and install it at getcomposer.org
@OsielyMendezpluskids
@OsielyMendezpluskids 4 года назад
@@twilio I expected a better response I got stuck at the same exact place where it says "inside my project directory I will use composer" but you skipped to show what you did to launch composer and it does not appear in the video but only shows the composer already being used. I do not know what know how to locate the project directory or where the composer is located within my windows 10. The whole point of a tutorial is to show us exactly how to do it not go read it somewhere as some of us are visual learners only. Can you send me the video of that part that was removed.
@zahirzohair1372
@zahirzohair1372 3 года назад
Thanks for this great video. it works perfectly locally but when i upload my project on server it does not work. is there anyone who have same issue? thanks
Далее
This is How I Scrape 99% of Sites
18:27
Просмотров 134 тыс.
Google Sheets and JavaScript with Node.js
11:09
Просмотров 231 тыс.
Пресс-конференция перед UFC 308
49:51
Convert Google Sheets into a REST API
14:10
Просмотров 11 тыс.
Google Sheets and Ruby
5:47
Просмотров 10 тыс.
Google Sheets API - JavaScript NodeJS Tutorial
45:29
Просмотров 115 тыс.
61 - Уроки PHP. Google Sheets API
18:11
Просмотров 14 тыс.
Google Sheets API - Read Data - Part 1
9:09
Просмотров 89 тыс.
10 Rendering Patterns for Web Apps
6:55
Просмотров 339 тыс.
Google Sheets - Database Functions
20:52
Просмотров 97 тыс.
Пресс-конференция перед UFC 308
49:51