podcast_api 1.1.4 → 1.1.5
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 +2 -2
- data/LICENSE +1 -1
- data/README.md +3644 -2824
- data/examples/Gemfile.lock +3 -3
- data/lib/podcast_api.rb +5 -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
|
@@ -154,6 +154,11 @@ module PodcastApi
|
|
|
154
154
|
def fetch_audience_for_podcast(**kwargs)
|
|
155
155
|
id = kwargs.delete(:id)
|
|
156
156
|
return send_http_request('get', "#{@base_url}/podcasts/#{id}/audience", {query: kwargs, headers: @headers})
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
def fetch_podcasts_by_domain(**kwargs)
|
|
160
|
+
domain_name = kwargs.delete(:domain_name)
|
|
161
|
+
return send_http_request('get', "#{@base_url}/podcasts/domains/#{domain_name}", {query: kwargs, headers: @headers})
|
|
157
162
|
end
|
|
158
163
|
end
|
|
159
164
|
|
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.5
|
|
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-04-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|