Closed roeierez closed 3 years ago
I added queryParams also to base search and added implementation for both itunes and podcast index search. This allows an external caller to add filter params such as "value=lightning" in case where only lightning enabled podcast are desired.
Thanks for the PR @roeierez.
This PR implements "charts" API for podcast index using trending call. In order to filter trending results the charts API was also modified to get additional query parameters that will be passed to podcast index endpoint. Specifically in Breez we would like to use it to filter those that can be used with lightning payments and for that purpose we will pass "val":"lightning" filter as introduced in the additional test I added. Also a small fix for default 'lastUpdatedTime' was added.