late-sdk 0.0.638 → 0.0.639
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/docs/PostAnalytics.md +2 -0
- data/lib/zernio-sdk/models/post_analytics.rb +12 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +1 -0
- data/spec/models/post_analytics_spec.rb +6 -0
- data/zernio-sdk-0.0.639.gem +0 -0
- metadata +3 -3
- data/zernio-sdk-0.0.638.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a1e52f2fc494ac1d77f85382297c83612bcd8e957b9dc2186d9d35a2cc2ad92
|
|
4
|
+
data.tar.gz: dd09be0c5c864e3fa64571f2386a49c0c373c0446f25507823ed09612606d17b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d127baaef1e5725924e3e0b3b185c9c0461c02c43029ea224cfb3b615e0b064ef0aede0588bafd82638e695b65002a105baf755ec78591037413e8fdf59192d
|
|
7
|
+
data.tar.gz: 75c1561d78e50d3d7c64b9240e3601cc90206509180771f5f01efdd8ebc2b62e15187f5130c1b31e499ba72f9048a265a8ba0e41687aaffac809a760ab55cd33
|
data/docs/PostAnalytics.md
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
| **follows** | **Integer** | Instagram feed posts and stories only: organic accounts that started following from this post. 0 for reels and other platforms. | [optional] |
|
|
16
16
|
| **ig_reels_avg_watch_time** | **Integer** | Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms. | [optional] |
|
|
17
17
|
| **ig_reels_video_view_total_time** | **Integer** | Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms. | [optional] |
|
|
18
|
+
| **video_duration_seconds** | **Integer** | Video length in seconds. Currently Instagram Reels only; combine with igReelsAvgWatchTime (ms) to estimate retention. Null when unknown (other platforms, non-video media, or when Instagram does not expose the media URL, e.g. reels with copyrighted audio). | [optional] |
|
|
18
19
|
| **engagement_rate** | **Float** | | [optional] |
|
|
19
20
|
| **last_updated** | **Time** | | [optional] |
|
|
20
21
|
|
|
@@ -35,6 +36,7 @@ instance = Zernio::PostAnalytics.new(
|
|
|
35
36
|
follows: 0,
|
|
36
37
|
ig_reels_avg_watch_time: 0,
|
|
37
38
|
ig_reels_video_view_total_time: 0,
|
|
39
|
+
video_duration_seconds: 30,
|
|
38
40
|
engagement_rate: 0,
|
|
39
41
|
last_updated: null
|
|
40
42
|
)
|
|
@@ -41,6 +41,9 @@ module Zernio
|
|
|
41
41
|
# Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms.
|
|
42
42
|
attr_accessor :ig_reels_video_view_total_time
|
|
43
43
|
|
|
44
|
+
# Video length in seconds. Currently Instagram Reels only; combine with igReelsAvgWatchTime (ms) to estimate retention. Null when unknown (other platforms, non-video media, or when Instagram does not expose the media URL, e.g. reels with copyrighted audio).
|
|
45
|
+
attr_accessor :video_duration_seconds
|
|
46
|
+
|
|
44
47
|
attr_accessor :engagement_rate
|
|
45
48
|
|
|
46
49
|
attr_accessor :last_updated
|
|
@@ -59,6 +62,7 @@ module Zernio
|
|
|
59
62
|
:'follows' => :'follows',
|
|
60
63
|
:'ig_reels_avg_watch_time' => :'igReelsAvgWatchTime',
|
|
61
64
|
:'ig_reels_video_view_total_time' => :'igReelsVideoViewTotalTime',
|
|
65
|
+
:'video_duration_seconds' => :'videoDurationSeconds',
|
|
62
66
|
:'engagement_rate' => :'engagementRate',
|
|
63
67
|
:'last_updated' => :'lastUpdated'
|
|
64
68
|
}
|
|
@@ -88,6 +92,7 @@ module Zernio
|
|
|
88
92
|
:'follows' => :'Integer',
|
|
89
93
|
:'ig_reels_avg_watch_time' => :'Integer',
|
|
90
94
|
:'ig_reels_video_view_total_time' => :'Integer',
|
|
95
|
+
:'video_duration_seconds' => :'Integer',
|
|
91
96
|
:'engagement_rate' => :'Float',
|
|
92
97
|
:'last_updated' => :'Time'
|
|
93
98
|
}
|
|
@@ -96,6 +101,7 @@ module Zernio
|
|
|
96
101
|
# List of attributes with nullable: true
|
|
97
102
|
def self.openapi_nullable
|
|
98
103
|
Set.new([
|
|
104
|
+
:'video_duration_seconds',
|
|
99
105
|
])
|
|
100
106
|
end
|
|
101
107
|
|
|
@@ -159,6 +165,10 @@ module Zernio
|
|
|
159
165
|
self.ig_reels_video_view_total_time = attributes[:'ig_reels_video_view_total_time']
|
|
160
166
|
end
|
|
161
167
|
|
|
168
|
+
if attributes.key?(:'video_duration_seconds')
|
|
169
|
+
self.video_duration_seconds = attributes[:'video_duration_seconds']
|
|
170
|
+
end
|
|
171
|
+
|
|
162
172
|
if attributes.key?(:'engagement_rate')
|
|
163
173
|
self.engagement_rate = attributes[:'engagement_rate']
|
|
164
174
|
end
|
|
@@ -199,6 +209,7 @@ module Zernio
|
|
|
199
209
|
follows == o.follows &&
|
|
200
210
|
ig_reels_avg_watch_time == o.ig_reels_avg_watch_time &&
|
|
201
211
|
ig_reels_video_view_total_time == o.ig_reels_video_view_total_time &&
|
|
212
|
+
video_duration_seconds == o.video_duration_seconds &&
|
|
202
213
|
engagement_rate == o.engagement_rate &&
|
|
203
214
|
last_updated == o.last_updated
|
|
204
215
|
end
|
|
@@ -212,7 +223,7 @@ module Zernio
|
|
|
212
223
|
# Calculates hash code according to all attributes.
|
|
213
224
|
# @return [Integer] Hash code
|
|
214
225
|
def hash
|
|
215
|
-
[impressions, reach, likes, comments, shares, saves, clicks, views, follows, ig_reels_avg_watch_time, ig_reels_video_view_total_time, engagement_rate, last_updated].hash
|
|
226
|
+
[impressions, reach, likes, comments, shares, saves, clicks, views, follows, ig_reels_avg_watch_time, ig_reels_video_view_total_time, video_duration_seconds, engagement_rate, last_updated].hash
|
|
216
227
|
end
|
|
217
228
|
|
|
218
229
|
# Builds the object from hash
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -6093,6 +6093,7 @@ components:
|
|
|
6093
6093
|
follows: { type: integer, example: 0, description: 'Instagram feed posts and stories only: organic accounts that started following from this post. 0 for reels and other platforms.' }
|
|
6094
6094
|
igReelsAvgWatchTime: { type: integer, example: 0, description: 'Instagram Reels only: average watch time per play, in milliseconds. 0 for non-Reels media and other platforms.' }
|
|
6095
6095
|
igReelsVideoViewTotalTime: { type: integer, example: 0, description: 'Instagram Reels only: total watch time including replays, in milliseconds. 0 for non-Reels media and other platforms.' }
|
|
6096
|
+
videoDurationSeconds: { type: [integer, "null"], example: 30, description: 'Video length in seconds. Currently Instagram Reels only; combine with igReelsAvgWatchTime (ms) to estimate retention. Null when unknown (other platforms, non-video media, or when Instagram does not expose the media URL, e.g. reels with copyrighted audio).' }
|
|
6096
6097
|
engagementRate: { type: number, example: 0 }
|
|
6097
6098
|
lastUpdated: { type: string, format: date-time }
|
|
6098
6099
|
PlatformAnalytics:
|
|
@@ -93,6 +93,12 @@ describe Zernio::PostAnalytics do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
+
describe 'test attribute "video_duration_seconds"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
96
102
|
describe 'test attribute "engagement_rate"' do
|
|
97
103
|
it 'should work' do
|
|
98
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.639
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -4919,7 +4919,7 @@ files:
|
|
|
4919
4919
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4920
4920
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4921
4921
|
- spec/spec_helper.rb
|
|
4922
|
-
- zernio-sdk-0.0.
|
|
4922
|
+
- zernio-sdk-0.0.639.gem
|
|
4923
4923
|
- zernio-sdk.gemspec
|
|
4924
4924
|
homepage: https://openapi-generator.tech
|
|
4925
4925
|
licenses:
|
data/zernio-sdk-0.0.638.gem
DELETED
|
Binary file
|