podcast_api 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- podcast_api (1.1.4)
5
- httparty
4
+ podcast_api (1.1.5)
5
+ httparty (~> 0.20.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -12,7 +12,7 @@ GEM
12
12
  multi_xml (>= 0.5.2)
13
13
  mime-types (3.4.1)
14
14
  mime-types-data (~> 3.2015)
15
- mime-types-data (3.2022.0105)
15
+ mime-types-data (3.2023.0218.1)
16
16
  multi_xml (0.6.0)
17
17
 
18
18
  PLATFORMS
data/lib/podcast_api.rb CHANGED
@@ -57,6 +57,10 @@ module PodcastApi
57
57
  return send_http_request('get', "#{@base_url}/search", {query: kwargs, headers: @headers})
58
58
  end
59
59
 
60
+ def search_episode_titles(**kwargs)
61
+ return send_http_request('get', "#{@base_url}/search_episode_titles", {query: kwargs, headers: @headers})
62
+ end
63
+
60
64
  def typeahead(**kwargs)
61
65
  return send_http_request('get', "#{@base_url}/typeahead", {query: kwargs, headers: @headers})
62
66
  end
@@ -154,6 +158,11 @@ module PodcastApi
154
158
  def fetch_audience_for_podcast(**kwargs)
155
159
  id = kwargs.delete(:id)
156
160
  return send_http_request('get', "#{@base_url}/podcasts/#{id}/audience", {query: kwargs, headers: @headers})
161
+ end
162
+
163
+ def fetch_podcasts_by_domain(**kwargs)
164
+ domain_name = kwargs.delete(:domain_name)
165
+ return send_http_request('get', "#{@base_url}/podcasts/domains/#{domain_name}", {query: kwargs, headers: @headers})
157
166
  end
158
167
  end
159
168
 
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PodcastApi
4
- VERSION = "1.1.4"
4
+ VERSION = "1.1.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podcast_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Listen Notes, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-28 00:00:00.000000000 Z
11
+ date: 2023-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty