Написать Google Apps Script, чтобы запрашивать выписки из Приватбанка
Здравствуйте,
Задача следующая: написать Google Apps Script, который запрашивает выписки из Приватбанка по API. Последнее описано здесь: https://api.privatbank.ua/#p24/orders.
В качестве переменных я должен передать в скрипте:
1) пароль мерчанта,
2) айди мерчанта,
3) номер карты,
4) стартовую и конечную даты.
Полученные выписки нужно записать в Google Spreadsheet, из которого исполняется скрипт. То есть, если за указанные период было 10 платежей по карте, то в итоге в спредшит запишется 10 строчек, в соответствии с этой последовательностью:
<statement card="5168742060221193" appcode="591969" trandate="2013-09-02" amount="0.10 UAH" cardamount="-0.10 UAH" rest="0.95 UAH" terminal="Пополнение мобильного +380139917053 через «Приват24»" description="test test test" />
Заанее спасибо!
P.S. Несколько ресурсов, которые вам могут помочь в исполнении:
https://habr.com/ru/post/354214/
https://developers.google.com/apps-script/guides/services/external
https://www.benlcollins.com/apps-script/api-tutorial-for-beginners/
-
1116 45 0 Добрый день!
Готов реализовать гугл-скрипт или дополнение для гугл-таблиц(что лучше) получения запрашиваемых данных по API.
Речь же идет о юр. лицах? Если нет, тогда возможна загрузка только с файла, но и это возможно реализовать.
-
166 8 0 Добрый вечер
Интересная задача. Но быстрой реализации не обещаю. Хотя ничего необычного не вижу, просто необходимо время)
Current freelance projects in the category Javascript and Typescript
Development of a corporate financial system — React, TypeScript, Node.jsWe are looking for an experienced full-stack developer or a small team to develop a corporate financial system from scratch. It is necessary to implement the full development cycle: architecture design, backend, frontend, database, testing, and system launch. Technologies:… Javascript and Typescript, Web Programming ∙ 7 hours 47 minutes back ∙ 52 proposals |
Game Developer
1200 USD
We are looking for an experienced game developer to refine an existing project on PixiJS. It is necessary to improve the game's mathematical system, redesign and balance the bonus rounds, as well as make changes to the current game logic. Experience in commercial game… Javascript and Typescript, Gaming Apps ∙ 12 hours 28 minutes back ∙ 13 proposals |
Development of a website according to the specifications on FramerYou need to create a website based on the parameters in the technical specification. https://docs.google.com/document/d/1ODO2C9Krb4AaMiJz9wfbNzWlAyA2FwCCHL8r0biajUY/edit?usp=sharing Please provide your actual rate based on this design. HTML & CSS, Javascript and Typescript ∙ 12 hours 28 minutes back ∙ 24 proposals |
Development of an interactive Palworld map for the websiteWe need to develop an interactive map for Palworld based on the example: https://palworld.gg/map We need not just a static image, but a full-fledged interactive map where users can view locations, toggle object categories on/off, search for specific points, and interact with… HTML & CSS, Javascript and Typescript ∙ 2 days 3 hours back ∙ 31 proposals |
Development of the AM Mobility platform (car service, parking, insurance, car rental)
5800 USD
We are looking for a team or an experienced Full Stack developer to create the MVP of the AM Mobility platform. AM Mobility is a unified digital ecosystem for motorists, combining in one application and web platform: parking; car service; tire fitting; car wash; car rental;… Javascript and Typescript, Web Programming ∙ 7 days 9 hours back ∙ 119 proposals |