В этом уроке мы разберёмся с тем, что такое API, из каких компонентов состоят HTTP запросы и ответы. И в целом на нескольких примерах разберём функционал пакета httr2, и то, как с его помощью написать пакет-обёртку над API.
Тайм коды: 00:00 Вступление 00:45 Что такое API 01:49 Компоненты HTTP запросов и ответов 03:26 Введение в пакет httr2 08:04 Функции пакета httr2 09:36 Этапы работы с API 10:10 Простейший пример обёртки над Faker API 18:44 Управление конфиденциальными данными 29:33 Пример обёртки над NYTimes Books API 30:51 Обработка ошибок в HTTP ответах 34:06 Ограничение скорости отправки запросов 37:18 Как работать с API токена в пакетах-обёртках над API 39:32 Протокол OAuth 41:00 Пример обёртки над Facebook API 49:46 Обзор всего рабочего процесса 52:11 Заключение
В этом уроке мы разберёмся с тем, что такое API, из каких компонентов состоят HTTP запросы и ответы. И в целом на нескольких примерах разберём функционал пакета httr2, и то, как с его помощью написать пакет-обёртку над API.
Тайм коды: 00:00 Вступление 00:45 Что такое API 01:49 Компоненты HTTP запросов и ответов 03:26 Введение в пакет httr2 08:04 Функции пакета httr2 09:36 Этапы работы с API 10:10 Простейший пример обёртки над Faker API 18:44 Управление конфиденциальными данными 29:33 Пример обёртки над NYTimes Books API 30:51 Обработка ошибок в HTTP ответах 34:06 Ограничение скорости отправки запросов 37:18 Как работать с API токена в пакетах-обёртках над API 39:32 Протокол OAuth 41:00 Пример обёртки над Facebook API 49:46 Обзор всего рабочего процесса 52:11 Заключение
Given the pro-privacy stance of the platform, it’s taken as a given that it’ll be used for a number of reasons, not all of them good. And Telegram has been attached to a fair few scandals related to terrorism, sexual exploitation and crime. Back in 2015, Vox described Telegram as “ISIS’ app of choice,” saying that the platform’s real use is the ability to use channels to distribute material to large groups at once. Telegram has acted to remove public channels affiliated with terrorism, but Pavel Durov reiterated that he had no business snooping on private conversations. The Dow Jones Industrial Average fell 230 points, or 0.7%. Meanwhile, the S&P 500 and the Nasdaq Composite dropped 1.3% and 2.2%, respectively. All three indexes began the day with gains before selling off. He floated the idea of restricting the use of Telegram in Ukraine and Russia, a suggestion that was met with fierce opposition from users. Shortly after, Durov backed off the idea. During the operations, Sebi officials seized various records and documents, including 34 mobile phones, six laptops, four desktops, four tablets, two hard drive disks and one pen drive from the custody of these persons. As such, the SC would like to remind investors to always exercise caution when evaluating investment opportunities, especially those promising unrealistically high returns with little or no risk. Investors should also never deposit money into someone’s personal bank account if instructed.
from ar