Извлечь данные из google spreadsheets и записать в переменную
Нужно написать скрипт на php, который будет принимать post параметр "id" и по его значению находить в колонке Google таблицы строки, вынимая из них значения и формировать переменную вида:
Имя1 Фамилия1 Статус1
Имя2 Фамилия2 Статус2
Имя3 Фамилия3 Статус3
Имя4 Фамилия4 Статус4
Таблица будет иметь вид (ссылку дам):
id | Имя | Фамилия | Статус
123 | Василий | Пупкин | Новый
555 | Олька | Васечкина | Новый
123 | Олег | Иванов | В работе
Допустим у нас скрипту script.php передается параметр id=123.
На выходе нужно получить из всего массива созданного на базе таблицы переменную вида:
$var =
"
Василий Пупкин - новый
Олег Иванов - в работе
";
Все нужно сделать через мой аккаунт gmail
Также должно быть легко и понятно как сменить таблицу.
Вопросы задавайте в ЛС
Current freelance projects in the category PHP
Execution of work after SEO audit
333 USD
An experienced OpenCart developer is needed to perform SEO and technical improvements for the online store. Main tasks: Correction of the internal linking structure and menu. Adding links to the footer. Implementation of breadcrumbs with Schema.org microdata. Fixing the… PHP, Website Maintenance ∙ 8 hours 36 minutes back ∙ 43 proposals |
Fix issues with Facebook API in the OpenCart moduleIn OpenCart, there is a module for integrating Facebook and Instagram via API, OAuth, and Webhook. After opening the module page in the browser, the number of API requests to Facebook starts to increase, and the number of errors gr:get:InvalidID also rises. It is necessary to… PHP, Web Programming ∙ 9 hours 51 minutes back ∙ 31 proposals |
Create a WordPress plugin for a survey (quiz)
222 USD
A WordPress plugin needs to be developed that will be able to - store a bank of questions, all in the same format - a question and 4 answers, 1 correct - display 12 questions in random order, track the timing - collect user data - show the final result with the option to share… PHP, Web Programming ∙ 17 hours 19 minutes back ∙ 86 proposals |
Integration needed: KeyCRM → Cash Register KashalotIt is necessary to set up integration between KeyCRM and the Cash Register Kahalot. When placing an order in KeyCRM, the data must be automatically transmitted to Kahalot: • order information • products, nomenclature • prices • quantity More details in private. Content Management Systems, PHP ∙ 3 days 5 hours back ∙ 28 proposals |
A WordPress site using the Kadence theme and Kadence Blocks.
222 USD
We need to create a website on WordPress using the Kadence theme and Kadence Blocks. There will be no online store (although it may be added in the future). We need a homepage and several internal pages. The graphics are already prepared, the layout structure is mostly defined,… Content Management Systems, PHP ∙ 4 days 14 hours back ∙ 38 proposals |