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.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/LICENSE +1 -1
- data/README.md +3979 -2863
- data/examples/Gemfile.lock +3 -3
- data/lib/podcast_api.rb +9 -0
- data/lib/version.rb +1 -1
- metadata +2 -2
data/examples/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
podcast_api (1.1.
|
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.
|
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
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
|
+
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:
|
11
|
+
date: 2023-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|