I am currently reading Clean Code by Robert C. Martin and in Chapter 8: Boundaries one can find this paragraph:
We wanted to tell the transmitter something like this:
Key the transmitter on the provided frequency and emit an analog representation of the data coming from this stream
We had no Idea how that would be done [...] we defined our own interface [...] this was the interface we wished we had.
Now I am wondering if one should use this kind of pattern, which appears to be an Adapter, with every Api call I am using. It seems intuitive if I already have the code surrounding the Interface which is how he describes it but if I start out with the data from the API or only do little transformation to the data, it seems to be easier to work with the dataformat, that is given to me.
Or is this a case of me overthinking it and should this (like most things) be used sometimes íf it helps and if so when might this be? In the same situation that he described? Are there more?