The docs currently do a mixture of things. Some use pystac-client, some use requests.
The logic around which does which is roughly if you are going to be using requests in other parts of the notebook then you can just use requests in the STAC search part. The idea there is that it is useful to show how you can use to use STAC as a REST API. This is what you need to know about if you are building stories for the website. If we think people should genuinely be using titiler in a notebook then it probably deserves to have its own client library.
So the logic is kind of:
The docs currently do a mixture of things. Some use pystac-client, some use requests.
The logic around which does which is roughly if you are going to be using requests in other parts of the notebook then you can just use requests in the STAC search part. The idea there is that it is useful to show how you can use to use STAC as a REST API. This is what you need to know about if you are building stories for the website. If we think people should genuinely be using titiler in a notebook then it probably deserves to have its own client library.
So the logic is kind of: