amugofjava / podcast_search

A simple library providing programmatic access to the iTunes search API for podcasts.
MIT License
43 stars 26 forks source link

Implement charts for podcast index #5

Closed roeierez closed 3 years ago

roeierez commented 3 years ago

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.

roeierez commented 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.

amugofjava commented 3 years ago

Thanks for the PR @roeierez.