02 Mastering API Calls with Saloon Request class and getting data after making an API call

preview_player
Показать описание
Build beautiful API integrations and SDKs with Saloon - yes, in this series we are going to look at how we can use the package Saloon to write better API integration code.

If your application is connecting to a third-party API service

You can find me on:
Рекомендации по теме
Комментарии
Автор

Thank you. Very helpfull, could you give some examples of code with authorization(bearer) for api's?

jacksragingbrain
Автор

Actually, the amount of whitespace you have between your code lines triggers my OCD 😅

zkabadu
Автор

Oh, hurting the single responsibility principle does hurt my eyes. Sorry for this, but I mean that code teachers have a big impact on the way others are programming in the future. Therefore "GetUsers" and "GetUser" should be two separate request classes. Also the name does not make any sence: get user list but with an id it only returns a single record 😢

zkabadu