Working with External APIs and Services
Although an autonomous application can provide great value to its users, consuming external APIs and services can make it provide even greater value to those users by integrating the functionalities of the application with other applications!
However, consuming external APIs and services creates new dependencies for your application. While this might make perfect sense, you have to know how to interact with these dependencies and how to integrate them into your application, so you don’t couple your application too much to that external dependency and avoid having to change your application’s code every time that dependency changes.
More specifically, in this chapter, we will discuss the following:
- The benefits of consuming external APIs
- Extending Bookmarkr’s capabilities by consuming an external API
- The proper way in .NET to consume external APIs
- How to avoid tight coupling between our application...