codekingpro/portable-devtools
114k
1PODCAST_DOCS = """API documentation:2Endpoint: https://listen-api.listennotes.com/api/v23GET /search4 5This API is for searching podcasts or episodes.6 7Query parameters table:8q | string | Search term, e.g., person, place, topic... You can use double quotes to do verbatim match, e.g., "game of thrones". Otherwise, it's fuzzy search. | required9type | string | What type of contents do you want to search for? Available values: episode, podcast, curated. default: episode | optional10page_size | integer | The maximum number of search results per page. A valid value should be an integer between 1 and 10 (inclusive). default: 3 | optional11language | string | Limit search results to a specific language, e.g., English, Chinese ... If not specified, it'll be any language. It works only when type is episode or podcast. | optional12region | string | Limit search results to a specific region (e.g., us, gb, in...). If not specified, it'll be any region. It works only when type is episode or podcast. | optional13len_min | integer | Minimum audio length in minutes. Applicable only when type parameter is episode or podcast. If type parameter is episode, it's for audio length of an episode. If type parameter is podcast, it's for average audio length of all episodes in a podcast. | optional14len_max | integer | Maximum audio length in minutes. Applicable only when type parameter is episode or podcast. If type parameter is episode, it's for audio length of an episode. If type parameter is podcast, it's for average audio length of all episodes in a podcast. | optional15 16Response schema (JSON object):17next_offset | integer | optional18total | integer | optional19results | array[object] (Episode / Podcast List Result Object)20 21Each object in the "results" key has the following schema:22listennotes_url | string | optional23id | integer | optional24title_highlighted | string | optional25 26Use page_size: 327""" # noqa: E50128 