late-sdk 0.0.103 → 0.0.104
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/README.md +0 -52
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +0 -41
- data/openapi.yaml +1 -731
- data/zernio-sdk-0.0.104.gem +0 -0
- metadata +2 -166
- data/docs/CaptionResponse.md +0 -18
- data/docs/CheckInstagramHashtags200Response.md +0 -22
- data/docs/CheckInstagramHashtags200ResponseResultsInner.md +0 -24
- data/docs/CheckInstagramHashtags200ResponseSummary.md +0 -22
- data/docs/CheckInstagramHashtagsRequest.md +0 -18
- data/docs/DownloadBlueskyMedia200Response.md +0 -26
- data/docs/DownloadFacebookVideo200Response.md +0 -24
- data/docs/DownloadFormat.md +0 -26
- data/docs/DownloadInstagramMedia200Response.md +0 -22
- data/docs/DownloadResponse.md +0 -26
- data/docs/DownloadTikTokVideo200Response.md +0 -24
- data/docs/DownloadTikTokVideo200ResponseFormatsInner.md +0 -22
- data/docs/DownloadYouTubeVideo200Response.md +0 -24
- data/docs/DownloadYouTubeVideo200ResponseFormatsInner.md +0 -28
- data/docs/GetYouTubeTranscript200Response.md +0 -26
- data/docs/GetYouTubeTranscript200ResponseSegmentsInner.md +0 -22
- data/docs/HashtagCheckResponse.md +0 -18
- data/docs/HashtagInfo.md +0 -22
- data/docs/ToolsApi.md +0 -663
- data/docs/TranscriptResponse.md +0 -22
- data/docs/TranscriptSegment.md +0 -22
- data/docs/ValidateApi.md +0 -287
- data/docs/ValidateMedia200Response.md +0 -32
- data/docs/ValidateMedia200ResponsePlatformLimitsValue.md +0 -22
- data/docs/ValidateMediaRequest.md +0 -18
- data/docs/ValidatePost200Response.md +0 -49
- data/docs/ValidatePost200ResponseOneOf.md +0 -22
- data/docs/ValidatePost200ResponseOneOf1.md +0 -22
- data/docs/ValidatePost200ResponseOneOf1ErrorsInner.md +0 -20
- data/docs/ValidatePost200ResponseOneOfWarningsInner.md +0 -20
- data/docs/ValidatePostLength200Response.md +0 -20
- data/docs/ValidatePostLength200ResponsePlatformsValue.md +0 -22
- data/docs/ValidatePostLengthRequest.md +0 -18
- data/docs/ValidatePostRequest.md +0 -22
- data/docs/ValidatePostRequestMediaItemsInner.md +0 -20
- data/docs/ValidatePostRequestPlatformsInner.md +0 -24
- data/docs/ValidatePostRequestPlatformsInnerCustomMediaInner.md +0 -20
- data/docs/ValidateSubreddit200Response.md +0 -49
- data/docs/ValidateSubreddit200ResponseOneOf.md +0 -20
- data/docs/ValidateSubreddit200ResponseOneOf1.md +0 -20
- data/docs/ValidateSubreddit200ResponseOneOfSubreddit.md +0 -32
- data/lib/late-sdk/api/tools_api.rb +0 -649
- data/lib/late-sdk/api/validate_api.rb +0 -290
- data/lib/late-sdk/models/caption_response.rb +0 -147
- data/lib/late-sdk/models/check_instagram_hashtags200_response.rb +0 -167
- data/lib/late-sdk/models/check_instagram_hashtags200_response_results_inner.rb +0 -208
- data/lib/late-sdk/models/check_instagram_hashtags200_response_summary.rb +0 -165
- data/lib/late-sdk/models/check_instagram_hashtags_request.rb +0 -175
- data/lib/late-sdk/models/download_bluesky_media200_response.rb +0 -183
- data/lib/late-sdk/models/download_facebook_video200_response.rb +0 -174
- data/lib/late-sdk/models/download_format.rb +0 -183
- data/lib/late-sdk/models/download_instagram_media200_response.rb +0 -165
- data/lib/late-sdk/models/download_response.rb +0 -185
- data/lib/late-sdk/models/download_tik_tok_video200_response.rb +0 -176
- data/lib/late-sdk/models/download_tik_tok_video200_response_formats_inner.rb +0 -165
- data/lib/late-sdk/models/download_you_tube_video200_response.rb +0 -176
- data/lib/late-sdk/models/download_you_tube_video200_response_formats_inner.rb +0 -192
- data/lib/late-sdk/models/get_you_tube_transcript200_response.rb +0 -185
- data/lib/late-sdk/models/get_you_tube_transcript200_response_segments_inner.rb +0 -165
- data/lib/late-sdk/models/hashtag_check_response.rb +0 -149
- data/lib/late-sdk/models/hashtag_info.rb +0 -199
- data/lib/late-sdk/models/transcript_response.rb +0 -167
- data/lib/late-sdk/models/transcript_segment.rb +0 -165
- data/lib/late-sdk/models/validate_media200_response.rb +0 -249
- data/lib/late-sdk/models/validate_media200_response_platform_limits_value.rb +0 -166
- data/lib/late-sdk/models/validate_media_request.rb +0 -165
- data/lib/late-sdk/models/validate_post200_response.rb +0 -104
- data/lib/late-sdk/models/validate_post200_response_one_of.rb +0 -168
- data/lib/late-sdk/models/validate_post200_response_one_of1.rb +0 -170
- data/lib/late-sdk/models/validate_post200_response_one_of1_errors_inner.rb +0 -156
- data/lib/late-sdk/models/validate_post200_response_one_of_warnings_inner.rb +0 -156
- data/lib/late-sdk/models/validate_post_length200_response.rb +0 -158
- data/lib/late-sdk/models/validate_post_length200_response_platforms_value.rb +0 -168
- data/lib/late-sdk/models/validate_post_length_request.rb +0 -165
- data/lib/late-sdk/models/validate_post_request.rb +0 -189
- data/lib/late-sdk/models/validate_post_request_media_items_inner.rb +0 -190
- data/lib/late-sdk/models/validate_post_request_platforms_inner.rb +0 -217
- data/lib/late-sdk/models/validate_post_request_platforms_inner_custom_media_inner.rb +0 -190
- data/lib/late-sdk/models/validate_subreddit200_response.rb +0 -104
- data/lib/late-sdk/models/validate_subreddit200_response_one_of.rb +0 -157
- data/lib/late-sdk/models/validate_subreddit200_response_one_of1.rb +0 -157
- data/lib/late-sdk/models/validate_subreddit200_response_one_of_subreddit.rb +0 -244
- data/spec/api/tools_api_spec.rb +0 -152
- data/spec/api/validate_api_spec.rb +0 -83
- data/spec/models/caption_response_spec.rb +0 -36
- data/spec/models/check_instagram_hashtags200_response_results_inner_spec.rb +0 -58
- data/spec/models/check_instagram_hashtags200_response_spec.rb +0 -48
- data/spec/models/check_instagram_hashtags200_response_summary_spec.rb +0 -48
- data/spec/models/check_instagram_hashtags_request_spec.rb +0 -36
- data/spec/models/download_bluesky_media200_response_spec.rb +0 -60
- data/spec/models/download_facebook_video200_response_spec.rb +0 -54
- data/spec/models/download_format_spec.rb +0 -60
- data/spec/models/download_instagram_media200_response_spec.rb +0 -48
- data/spec/models/download_response_spec.rb +0 -60
- data/spec/models/download_tik_tok_video200_response_formats_inner_spec.rb +0 -48
- data/spec/models/download_tik_tok_video200_response_spec.rb +0 -54
- data/spec/models/download_you_tube_video200_response_formats_inner_spec.rb +0 -66
- data/spec/models/download_you_tube_video200_response_spec.rb +0 -54
- data/spec/models/get_you_tube_transcript200_response_segments_inner_spec.rb +0 -48
- data/spec/models/get_you_tube_transcript200_response_spec.rb +0 -60
- data/spec/models/hashtag_check_response_spec.rb +0 -36
- data/spec/models/hashtag_info_spec.rb +0 -52
- data/spec/models/transcript_response_spec.rb +0 -48
- data/spec/models/transcript_segment_spec.rb +0 -48
- data/spec/models/validate_media200_response_platform_limits_value_spec.rb +0 -48
- data/spec/models/validate_media200_response_spec.rb +0 -82
- data/spec/models/validate_media_request_spec.rb +0 -36
- data/spec/models/validate_post200_response_one_of1_errors_inner_spec.rb +0 -42
- data/spec/models/validate_post200_response_one_of1_spec.rb +0 -48
- data/spec/models/validate_post200_response_one_of_spec.rb +0 -48
- data/spec/models/validate_post200_response_one_of_warnings_inner_spec.rb +0 -42
- data/spec/models/validate_post200_response_spec.rb +0 -32
- data/spec/models/validate_post_length200_response_platforms_value_spec.rb +0 -48
- data/spec/models/validate_post_length200_response_spec.rb +0 -42
- data/spec/models/validate_post_length_request_spec.rb +0 -36
- data/spec/models/validate_post_request_media_items_inner_spec.rb +0 -46
- data/spec/models/validate_post_request_platforms_inner_custom_media_inner_spec.rb +0 -46
- data/spec/models/validate_post_request_platforms_inner_spec.rb +0 -58
- data/spec/models/validate_post_request_spec.rb +0 -48
- data/spec/models/validate_subreddit200_response_one_of1_spec.rb +0 -42
- data/spec/models/validate_subreddit200_response_one_of_spec.rb +0 -42
- data/spec/models/validate_subreddit200_response_one_of_subreddit_spec.rb +0 -82
- data/spec/models/validate_subreddit200_response_spec.rb +0 -32
- data/zernio-sdk-0.0.103.gem +0 -0
data/docs/ToolsApi.md
DELETED
|
@@ -1,663 +0,0 @@
|
|
|
1
|
-
# Late::ToolsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://zernio.com/api*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**check_instagram_hashtags**](ToolsApi.md#check_instagram_hashtags) | **POST** /v1/tools/instagram/hashtag-checker | Check IG hashtag bans |
|
|
8
|
-
| [**download_bluesky_media**](ToolsApi.md#download_bluesky_media) | **GET** /v1/tools/bluesky/download | Download Bluesky media |
|
|
9
|
-
| [**download_facebook_video**](ToolsApi.md#download_facebook_video) | **GET** /v1/tools/facebook/download | Download Facebook video |
|
|
10
|
-
| [**download_instagram_media**](ToolsApi.md#download_instagram_media) | **GET** /v1/tools/instagram/download | Download Instagram media |
|
|
11
|
-
| [**download_linked_in_video**](ToolsApi.md#download_linked_in_video) | **GET** /v1/tools/linkedin/download | Download LinkedIn video |
|
|
12
|
-
| [**download_tik_tok_video**](ToolsApi.md#download_tik_tok_video) | **GET** /v1/tools/tiktok/download | Download TikTok video |
|
|
13
|
-
| [**download_twitter_media**](ToolsApi.md#download_twitter_media) | **GET** /v1/tools/twitter/download | Download Twitter/X media |
|
|
14
|
-
| [**download_you_tube_video**](ToolsApi.md#download_you_tube_video) | **GET** /v1/tools/youtube/download | Download YouTube video |
|
|
15
|
-
| [**get_you_tube_transcript**](ToolsApi.md#get_you_tube_transcript) | **GET** /v1/tools/youtube/transcript | Get YouTube transcript |
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## check_instagram_hashtags
|
|
19
|
-
|
|
20
|
-
> <CheckInstagramHashtags200Response> check_instagram_hashtags(check_instagram_hashtags_request)
|
|
21
|
-
|
|
22
|
-
Check IG hashtag bans
|
|
23
|
-
|
|
24
|
-
Check if Instagram hashtags are banned, restricted, or safe to use. Rate limits: Build (50/day), Accelerate (500/day), Unlimited (unlimited).
|
|
25
|
-
|
|
26
|
-
### Examples
|
|
27
|
-
|
|
28
|
-
```ruby
|
|
29
|
-
require 'time'
|
|
30
|
-
require 'late-sdk'
|
|
31
|
-
# setup authorization
|
|
32
|
-
Late.configure do |config|
|
|
33
|
-
# Configure Bearer authorization (JWT): bearerAuth
|
|
34
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
api_instance = Late::ToolsApi.new
|
|
38
|
-
check_instagram_hashtags_request = Late::CheckInstagramHashtagsRequest.new({hashtags: ["travel", "followforfollow", "fitness"]}) # CheckInstagramHashtagsRequest |
|
|
39
|
-
|
|
40
|
-
begin
|
|
41
|
-
# Check IG hashtag bans
|
|
42
|
-
result = api_instance.check_instagram_hashtags(check_instagram_hashtags_request)
|
|
43
|
-
p result
|
|
44
|
-
rescue Late::ApiError => e
|
|
45
|
-
puts "Error when calling ToolsApi->check_instagram_hashtags: #{e}"
|
|
46
|
-
end
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
#### Using the check_instagram_hashtags_with_http_info variant
|
|
50
|
-
|
|
51
|
-
This returns an Array which contains the response data, status code and headers.
|
|
52
|
-
|
|
53
|
-
> <Array(<CheckInstagramHashtags200Response>, Integer, Hash)> check_instagram_hashtags_with_http_info(check_instagram_hashtags_request)
|
|
54
|
-
|
|
55
|
-
```ruby
|
|
56
|
-
begin
|
|
57
|
-
# Check IG hashtag bans
|
|
58
|
-
data, status_code, headers = api_instance.check_instagram_hashtags_with_http_info(check_instagram_hashtags_request)
|
|
59
|
-
p status_code # => 2xx
|
|
60
|
-
p headers # => { ... }
|
|
61
|
-
p data # => <CheckInstagramHashtags200Response>
|
|
62
|
-
rescue Late::ApiError => e
|
|
63
|
-
puts "Error when calling ToolsApi->check_instagram_hashtags_with_http_info: #{e}"
|
|
64
|
-
end
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
### Parameters
|
|
68
|
-
|
|
69
|
-
| Name | Type | Description | Notes |
|
|
70
|
-
| ---- | ---- | ----------- | ----- |
|
|
71
|
-
| **check_instagram_hashtags_request** | [**CheckInstagramHashtagsRequest**](CheckInstagramHashtagsRequest.md) | | |
|
|
72
|
-
|
|
73
|
-
### Return type
|
|
74
|
-
|
|
75
|
-
[**CheckInstagramHashtags200Response**](CheckInstagramHashtags200Response.md)
|
|
76
|
-
|
|
77
|
-
### Authorization
|
|
78
|
-
|
|
79
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
80
|
-
|
|
81
|
-
### HTTP request headers
|
|
82
|
-
|
|
83
|
-
- **Content-Type**: application/json
|
|
84
|
-
- **Accept**: application/json
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
## download_bluesky_media
|
|
88
|
-
|
|
89
|
-
> <DownloadBlueskyMedia200Response> download_bluesky_media(url)
|
|
90
|
-
|
|
91
|
-
Download Bluesky media
|
|
92
|
-
|
|
93
|
-
Download videos from Bluesky posts. Rate limits: Build (50/day), Accelerate (500/day), Unlimited (unlimited).
|
|
94
|
-
|
|
95
|
-
### Examples
|
|
96
|
-
|
|
97
|
-
```ruby
|
|
98
|
-
require 'time'
|
|
99
|
-
require 'late-sdk'
|
|
100
|
-
# setup authorization
|
|
101
|
-
Late.configure do |config|
|
|
102
|
-
# Configure Bearer authorization (JWT): bearerAuth
|
|
103
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
api_instance = Late::ToolsApi.new
|
|
107
|
-
url = 'https://bsky.app/profile/user.bsky.social/post/abc123' # String | Bluesky post URL
|
|
108
|
-
|
|
109
|
-
begin
|
|
110
|
-
# Download Bluesky media
|
|
111
|
-
result = api_instance.download_bluesky_media(url)
|
|
112
|
-
p result
|
|
113
|
-
rescue Late::ApiError => e
|
|
114
|
-
puts "Error when calling ToolsApi->download_bluesky_media: #{e}"
|
|
115
|
-
end
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
#### Using the download_bluesky_media_with_http_info variant
|
|
119
|
-
|
|
120
|
-
This returns an Array which contains the response data, status code and headers.
|
|
121
|
-
|
|
122
|
-
> <Array(<DownloadBlueskyMedia200Response>, Integer, Hash)> download_bluesky_media_with_http_info(url)
|
|
123
|
-
|
|
124
|
-
```ruby
|
|
125
|
-
begin
|
|
126
|
-
# Download Bluesky media
|
|
127
|
-
data, status_code, headers = api_instance.download_bluesky_media_with_http_info(url)
|
|
128
|
-
p status_code # => 2xx
|
|
129
|
-
p headers # => { ... }
|
|
130
|
-
p data # => <DownloadBlueskyMedia200Response>
|
|
131
|
-
rescue Late::ApiError => e
|
|
132
|
-
puts "Error when calling ToolsApi->download_bluesky_media_with_http_info: #{e}"
|
|
133
|
-
end
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### Parameters
|
|
137
|
-
|
|
138
|
-
| Name | Type | Description | Notes |
|
|
139
|
-
| ---- | ---- | ----------- | ----- |
|
|
140
|
-
| **url** | **String** | Bluesky post URL | |
|
|
141
|
-
|
|
142
|
-
### Return type
|
|
143
|
-
|
|
144
|
-
[**DownloadBlueskyMedia200Response**](DownloadBlueskyMedia200Response.md)
|
|
145
|
-
|
|
146
|
-
### Authorization
|
|
147
|
-
|
|
148
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
149
|
-
|
|
150
|
-
### HTTP request headers
|
|
151
|
-
|
|
152
|
-
- **Content-Type**: Not defined
|
|
153
|
-
- **Accept**: application/json
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
## download_facebook_video
|
|
157
|
-
|
|
158
|
-
> <DownloadFacebookVideo200Response> download_facebook_video(url)
|
|
159
|
-
|
|
160
|
-
Download Facebook video
|
|
161
|
-
|
|
162
|
-
Download videos and reels from Facebook. Rate limits: Build (50/day), Accelerate (500/day), Unlimited (unlimited).
|
|
163
|
-
|
|
164
|
-
### Examples
|
|
165
|
-
|
|
166
|
-
```ruby
|
|
167
|
-
require 'time'
|
|
168
|
-
require 'late-sdk'
|
|
169
|
-
# setup authorization
|
|
170
|
-
Late.configure do |config|
|
|
171
|
-
# Configure Bearer authorization (JWT): bearerAuth
|
|
172
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
api_instance = Late::ToolsApi.new
|
|
176
|
-
url = 'url_example' # String | Facebook video or reel URL
|
|
177
|
-
|
|
178
|
-
begin
|
|
179
|
-
# Download Facebook video
|
|
180
|
-
result = api_instance.download_facebook_video(url)
|
|
181
|
-
p result
|
|
182
|
-
rescue Late::ApiError => e
|
|
183
|
-
puts "Error when calling ToolsApi->download_facebook_video: #{e}"
|
|
184
|
-
end
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
#### Using the download_facebook_video_with_http_info variant
|
|
188
|
-
|
|
189
|
-
This returns an Array which contains the response data, status code and headers.
|
|
190
|
-
|
|
191
|
-
> <Array(<DownloadFacebookVideo200Response>, Integer, Hash)> download_facebook_video_with_http_info(url)
|
|
192
|
-
|
|
193
|
-
```ruby
|
|
194
|
-
begin
|
|
195
|
-
# Download Facebook video
|
|
196
|
-
data, status_code, headers = api_instance.download_facebook_video_with_http_info(url)
|
|
197
|
-
p status_code # => 2xx
|
|
198
|
-
p headers # => { ... }
|
|
199
|
-
p data # => <DownloadFacebookVideo200Response>
|
|
200
|
-
rescue Late::ApiError => e
|
|
201
|
-
puts "Error when calling ToolsApi->download_facebook_video_with_http_info: #{e}"
|
|
202
|
-
end
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
### Parameters
|
|
206
|
-
|
|
207
|
-
| Name | Type | Description | Notes |
|
|
208
|
-
| ---- | ---- | ----------- | ----- |
|
|
209
|
-
| **url** | **String** | Facebook video or reel URL | |
|
|
210
|
-
|
|
211
|
-
### Return type
|
|
212
|
-
|
|
213
|
-
[**DownloadFacebookVideo200Response**](DownloadFacebookVideo200Response.md)
|
|
214
|
-
|
|
215
|
-
### Authorization
|
|
216
|
-
|
|
217
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
218
|
-
|
|
219
|
-
### HTTP request headers
|
|
220
|
-
|
|
221
|
-
- **Content-Type**: Not defined
|
|
222
|
-
- **Accept**: application/json
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
## download_instagram_media
|
|
226
|
-
|
|
227
|
-
> <DownloadInstagramMedia200Response> download_instagram_media(url)
|
|
228
|
-
|
|
229
|
-
Download Instagram media
|
|
230
|
-
|
|
231
|
-
Download Instagram reels, posts, or photos. Rate limits: Build (50/day), Accelerate (500/day), Unlimited (unlimited).
|
|
232
|
-
|
|
233
|
-
### Examples
|
|
234
|
-
|
|
235
|
-
```ruby
|
|
236
|
-
require 'time'
|
|
237
|
-
require 'late-sdk'
|
|
238
|
-
# setup authorization
|
|
239
|
-
Late.configure do |config|
|
|
240
|
-
# Configure Bearer authorization (JWT): bearerAuth
|
|
241
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
api_instance = Late::ToolsApi.new
|
|
245
|
-
url = 'https://www.instagram.com/reel/ABC123/' # String | Instagram reel or post URL
|
|
246
|
-
|
|
247
|
-
begin
|
|
248
|
-
# Download Instagram media
|
|
249
|
-
result = api_instance.download_instagram_media(url)
|
|
250
|
-
p result
|
|
251
|
-
rescue Late::ApiError => e
|
|
252
|
-
puts "Error when calling ToolsApi->download_instagram_media: #{e}"
|
|
253
|
-
end
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
#### Using the download_instagram_media_with_http_info variant
|
|
257
|
-
|
|
258
|
-
This returns an Array which contains the response data, status code and headers.
|
|
259
|
-
|
|
260
|
-
> <Array(<DownloadInstagramMedia200Response>, Integer, Hash)> download_instagram_media_with_http_info(url)
|
|
261
|
-
|
|
262
|
-
```ruby
|
|
263
|
-
begin
|
|
264
|
-
# Download Instagram media
|
|
265
|
-
data, status_code, headers = api_instance.download_instagram_media_with_http_info(url)
|
|
266
|
-
p status_code # => 2xx
|
|
267
|
-
p headers # => { ... }
|
|
268
|
-
p data # => <DownloadInstagramMedia200Response>
|
|
269
|
-
rescue Late::ApiError => e
|
|
270
|
-
puts "Error when calling ToolsApi->download_instagram_media_with_http_info: #{e}"
|
|
271
|
-
end
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
### Parameters
|
|
275
|
-
|
|
276
|
-
| Name | Type | Description | Notes |
|
|
277
|
-
| ---- | ---- | ----------- | ----- |
|
|
278
|
-
| **url** | **String** | Instagram reel or post URL | |
|
|
279
|
-
|
|
280
|
-
### Return type
|
|
281
|
-
|
|
282
|
-
[**DownloadInstagramMedia200Response**](DownloadInstagramMedia200Response.md)
|
|
283
|
-
|
|
284
|
-
### Authorization
|
|
285
|
-
|
|
286
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
287
|
-
|
|
288
|
-
### HTTP request headers
|
|
289
|
-
|
|
290
|
-
- **Content-Type**: Not defined
|
|
291
|
-
- **Accept**: application/json
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
## download_linked_in_video
|
|
295
|
-
|
|
296
|
-
> <DownloadInstagramMedia200Response> download_linked_in_video(url)
|
|
297
|
-
|
|
298
|
-
Download LinkedIn video
|
|
299
|
-
|
|
300
|
-
Download videos from LinkedIn posts. Rate limits: Build (50/day), Accelerate (500/day), Unlimited (unlimited).
|
|
301
|
-
|
|
302
|
-
### Examples
|
|
303
|
-
|
|
304
|
-
```ruby
|
|
305
|
-
require 'time'
|
|
306
|
-
require 'late-sdk'
|
|
307
|
-
# setup authorization
|
|
308
|
-
Late.configure do |config|
|
|
309
|
-
# Configure Bearer authorization (JWT): bearerAuth
|
|
310
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
311
|
-
end
|
|
312
|
-
|
|
313
|
-
api_instance = Late::ToolsApi.new
|
|
314
|
-
url = 'url_example' # String | LinkedIn post URL
|
|
315
|
-
|
|
316
|
-
begin
|
|
317
|
-
# Download LinkedIn video
|
|
318
|
-
result = api_instance.download_linked_in_video(url)
|
|
319
|
-
p result
|
|
320
|
-
rescue Late::ApiError => e
|
|
321
|
-
puts "Error when calling ToolsApi->download_linked_in_video: #{e}"
|
|
322
|
-
end
|
|
323
|
-
```
|
|
324
|
-
|
|
325
|
-
#### Using the download_linked_in_video_with_http_info variant
|
|
326
|
-
|
|
327
|
-
This returns an Array which contains the response data, status code and headers.
|
|
328
|
-
|
|
329
|
-
> <Array(<DownloadInstagramMedia200Response>, Integer, Hash)> download_linked_in_video_with_http_info(url)
|
|
330
|
-
|
|
331
|
-
```ruby
|
|
332
|
-
begin
|
|
333
|
-
# Download LinkedIn video
|
|
334
|
-
data, status_code, headers = api_instance.download_linked_in_video_with_http_info(url)
|
|
335
|
-
p status_code # => 2xx
|
|
336
|
-
p headers # => { ... }
|
|
337
|
-
p data # => <DownloadInstagramMedia200Response>
|
|
338
|
-
rescue Late::ApiError => e
|
|
339
|
-
puts "Error when calling ToolsApi->download_linked_in_video_with_http_info: #{e}"
|
|
340
|
-
end
|
|
341
|
-
```
|
|
342
|
-
|
|
343
|
-
### Parameters
|
|
344
|
-
|
|
345
|
-
| Name | Type | Description | Notes |
|
|
346
|
-
| ---- | ---- | ----------- | ----- |
|
|
347
|
-
| **url** | **String** | LinkedIn post URL | |
|
|
348
|
-
|
|
349
|
-
### Return type
|
|
350
|
-
|
|
351
|
-
[**DownloadInstagramMedia200Response**](DownloadInstagramMedia200Response.md)
|
|
352
|
-
|
|
353
|
-
### Authorization
|
|
354
|
-
|
|
355
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
356
|
-
|
|
357
|
-
### HTTP request headers
|
|
358
|
-
|
|
359
|
-
- **Content-Type**: Not defined
|
|
360
|
-
- **Accept**: application/json
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
## download_tik_tok_video
|
|
364
|
-
|
|
365
|
-
> <DownloadTikTokVideo200Response> download_tik_tok_video(url, opts)
|
|
366
|
-
|
|
367
|
-
Download TikTok video
|
|
368
|
-
|
|
369
|
-
Download TikTok videos with or without watermark. Rate limits: Build (50/day), Accelerate (500/day), Unlimited (unlimited).
|
|
370
|
-
|
|
371
|
-
### Examples
|
|
372
|
-
|
|
373
|
-
```ruby
|
|
374
|
-
require 'time'
|
|
375
|
-
require 'late-sdk'
|
|
376
|
-
# setup authorization
|
|
377
|
-
Late.configure do |config|
|
|
378
|
-
# Configure Bearer authorization (JWT): bearerAuth
|
|
379
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
380
|
-
end
|
|
381
|
-
|
|
382
|
-
api_instance = Late::ToolsApi.new
|
|
383
|
-
url = 'url_example' # String | TikTok video URL or ID
|
|
384
|
-
opts = {
|
|
385
|
-
action: 'download', # String | 'formats' to list available formats
|
|
386
|
-
format_id: 'format_id_example' # String | Specific format ID (0 = no watermark, etc.)
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
begin
|
|
390
|
-
# Download TikTok video
|
|
391
|
-
result = api_instance.download_tik_tok_video(url, opts)
|
|
392
|
-
p result
|
|
393
|
-
rescue Late::ApiError => e
|
|
394
|
-
puts "Error when calling ToolsApi->download_tik_tok_video: #{e}"
|
|
395
|
-
end
|
|
396
|
-
```
|
|
397
|
-
|
|
398
|
-
#### Using the download_tik_tok_video_with_http_info variant
|
|
399
|
-
|
|
400
|
-
This returns an Array which contains the response data, status code and headers.
|
|
401
|
-
|
|
402
|
-
> <Array(<DownloadTikTokVideo200Response>, Integer, Hash)> download_tik_tok_video_with_http_info(url, opts)
|
|
403
|
-
|
|
404
|
-
```ruby
|
|
405
|
-
begin
|
|
406
|
-
# Download TikTok video
|
|
407
|
-
data, status_code, headers = api_instance.download_tik_tok_video_with_http_info(url, opts)
|
|
408
|
-
p status_code # => 2xx
|
|
409
|
-
p headers # => { ... }
|
|
410
|
-
p data # => <DownloadTikTokVideo200Response>
|
|
411
|
-
rescue Late::ApiError => e
|
|
412
|
-
puts "Error when calling ToolsApi->download_tik_tok_video_with_http_info: #{e}"
|
|
413
|
-
end
|
|
414
|
-
```
|
|
415
|
-
|
|
416
|
-
### Parameters
|
|
417
|
-
|
|
418
|
-
| Name | Type | Description | Notes |
|
|
419
|
-
| ---- | ---- | ----------- | ----- |
|
|
420
|
-
| **url** | **String** | TikTok video URL or ID | |
|
|
421
|
-
| **action** | **String** | 'formats' to list available formats | [optional][default to 'download'] |
|
|
422
|
-
| **format_id** | **String** | Specific format ID (0 = no watermark, etc.) | [optional] |
|
|
423
|
-
|
|
424
|
-
### Return type
|
|
425
|
-
|
|
426
|
-
[**DownloadTikTokVideo200Response**](DownloadTikTokVideo200Response.md)
|
|
427
|
-
|
|
428
|
-
### Authorization
|
|
429
|
-
|
|
430
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
431
|
-
|
|
432
|
-
### HTTP request headers
|
|
433
|
-
|
|
434
|
-
- **Content-Type**: Not defined
|
|
435
|
-
- **Accept**: application/json
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
## download_twitter_media
|
|
439
|
-
|
|
440
|
-
> <DownloadInstagramMedia200Response> download_twitter_media(url, opts)
|
|
441
|
-
|
|
442
|
-
Download Twitter/X media
|
|
443
|
-
|
|
444
|
-
Download videos from Twitter/X posts. Rate limits: Build (50/day), Accelerate (500/day), Unlimited (unlimited).
|
|
445
|
-
|
|
446
|
-
### Examples
|
|
447
|
-
|
|
448
|
-
```ruby
|
|
449
|
-
require 'time'
|
|
450
|
-
require 'late-sdk'
|
|
451
|
-
# setup authorization
|
|
452
|
-
Late.configure do |config|
|
|
453
|
-
# Configure Bearer authorization (JWT): bearerAuth
|
|
454
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
455
|
-
end
|
|
456
|
-
|
|
457
|
-
api_instance = Late::ToolsApi.new
|
|
458
|
-
url = 'https://x.com/user/status/123456789' # String | Twitter/X post URL
|
|
459
|
-
opts = {
|
|
460
|
-
action: 'download', # String |
|
|
461
|
-
format_id: 'format_id_example' # String |
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
begin
|
|
465
|
-
# Download Twitter/X media
|
|
466
|
-
result = api_instance.download_twitter_media(url, opts)
|
|
467
|
-
p result
|
|
468
|
-
rescue Late::ApiError => e
|
|
469
|
-
puts "Error when calling ToolsApi->download_twitter_media: #{e}"
|
|
470
|
-
end
|
|
471
|
-
```
|
|
472
|
-
|
|
473
|
-
#### Using the download_twitter_media_with_http_info variant
|
|
474
|
-
|
|
475
|
-
This returns an Array which contains the response data, status code and headers.
|
|
476
|
-
|
|
477
|
-
> <Array(<DownloadInstagramMedia200Response>, Integer, Hash)> download_twitter_media_with_http_info(url, opts)
|
|
478
|
-
|
|
479
|
-
```ruby
|
|
480
|
-
begin
|
|
481
|
-
# Download Twitter/X media
|
|
482
|
-
data, status_code, headers = api_instance.download_twitter_media_with_http_info(url, opts)
|
|
483
|
-
p status_code # => 2xx
|
|
484
|
-
p headers # => { ... }
|
|
485
|
-
p data # => <DownloadInstagramMedia200Response>
|
|
486
|
-
rescue Late::ApiError => e
|
|
487
|
-
puts "Error when calling ToolsApi->download_twitter_media_with_http_info: #{e}"
|
|
488
|
-
end
|
|
489
|
-
```
|
|
490
|
-
|
|
491
|
-
### Parameters
|
|
492
|
-
|
|
493
|
-
| Name | Type | Description | Notes |
|
|
494
|
-
| ---- | ---- | ----------- | ----- |
|
|
495
|
-
| **url** | **String** | Twitter/X post URL | |
|
|
496
|
-
| **action** | **String** | | [optional][default to 'download'] |
|
|
497
|
-
| **format_id** | **String** | | [optional] |
|
|
498
|
-
|
|
499
|
-
### Return type
|
|
500
|
-
|
|
501
|
-
[**DownloadInstagramMedia200Response**](DownloadInstagramMedia200Response.md)
|
|
502
|
-
|
|
503
|
-
### Authorization
|
|
504
|
-
|
|
505
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
506
|
-
|
|
507
|
-
### HTTP request headers
|
|
508
|
-
|
|
509
|
-
- **Content-Type**: Not defined
|
|
510
|
-
- **Accept**: application/json
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
## download_you_tube_video
|
|
514
|
-
|
|
515
|
-
> <DownloadYouTubeVideo200Response> download_you_tube_video(url, opts)
|
|
516
|
-
|
|
517
|
-
Download YouTube video
|
|
518
|
-
|
|
519
|
-
Download YouTube videos or audio. Returns available formats or direct download URL. Rate limits: Build (50/day), Accelerate (500/day), Unlimited (unlimited).
|
|
520
|
-
|
|
521
|
-
### Examples
|
|
522
|
-
|
|
523
|
-
```ruby
|
|
524
|
-
require 'time'
|
|
525
|
-
require 'late-sdk'
|
|
526
|
-
# setup authorization
|
|
527
|
-
Late.configure do |config|
|
|
528
|
-
# Configure Bearer authorization (JWT): bearerAuth
|
|
529
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
530
|
-
end
|
|
531
|
-
|
|
532
|
-
api_instance = Late::ToolsApi.new
|
|
533
|
-
url = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' # String | YouTube video URL or video ID
|
|
534
|
-
opts = {
|
|
535
|
-
action: 'download', # String | Action to perform: 'download' returns download URL, 'formats' lists available formats
|
|
536
|
-
format: 'video', # String | Desired format (when action=download)
|
|
537
|
-
quality: 'hd', # String | Desired quality (when action=download)
|
|
538
|
-
format_id: 'format_id_example' # String | Specific format ID from formats list
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
begin
|
|
542
|
-
# Download YouTube video
|
|
543
|
-
result = api_instance.download_you_tube_video(url, opts)
|
|
544
|
-
p result
|
|
545
|
-
rescue Late::ApiError => e
|
|
546
|
-
puts "Error when calling ToolsApi->download_you_tube_video: #{e}"
|
|
547
|
-
end
|
|
548
|
-
```
|
|
549
|
-
|
|
550
|
-
#### Using the download_you_tube_video_with_http_info variant
|
|
551
|
-
|
|
552
|
-
This returns an Array which contains the response data, status code and headers.
|
|
553
|
-
|
|
554
|
-
> <Array(<DownloadYouTubeVideo200Response>, Integer, Hash)> download_you_tube_video_with_http_info(url, opts)
|
|
555
|
-
|
|
556
|
-
```ruby
|
|
557
|
-
begin
|
|
558
|
-
# Download YouTube video
|
|
559
|
-
data, status_code, headers = api_instance.download_you_tube_video_with_http_info(url, opts)
|
|
560
|
-
p status_code # => 2xx
|
|
561
|
-
p headers # => { ... }
|
|
562
|
-
p data # => <DownloadYouTubeVideo200Response>
|
|
563
|
-
rescue Late::ApiError => e
|
|
564
|
-
puts "Error when calling ToolsApi->download_you_tube_video_with_http_info: #{e}"
|
|
565
|
-
end
|
|
566
|
-
```
|
|
567
|
-
|
|
568
|
-
### Parameters
|
|
569
|
-
|
|
570
|
-
| Name | Type | Description | Notes |
|
|
571
|
-
| ---- | ---- | ----------- | ----- |
|
|
572
|
-
| **url** | **String** | YouTube video URL or video ID | |
|
|
573
|
-
| **action** | **String** | Action to perform: 'download' returns download URL, 'formats' lists available formats | [optional][default to 'download'] |
|
|
574
|
-
| **format** | **String** | Desired format (when action=download) | [optional][default to 'video'] |
|
|
575
|
-
| **quality** | **String** | Desired quality (when action=download) | [optional][default to 'hd'] |
|
|
576
|
-
| **format_id** | **String** | Specific format ID from formats list | [optional] |
|
|
577
|
-
|
|
578
|
-
### Return type
|
|
579
|
-
|
|
580
|
-
[**DownloadYouTubeVideo200Response**](DownloadYouTubeVideo200Response.md)
|
|
581
|
-
|
|
582
|
-
### Authorization
|
|
583
|
-
|
|
584
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
585
|
-
|
|
586
|
-
### HTTP request headers
|
|
587
|
-
|
|
588
|
-
- **Content-Type**: Not defined
|
|
589
|
-
- **Accept**: application/json
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
## get_you_tube_transcript
|
|
593
|
-
|
|
594
|
-
> <GetYouTubeTranscript200Response> get_you_tube_transcript(url, opts)
|
|
595
|
-
|
|
596
|
-
Get YouTube transcript
|
|
597
|
-
|
|
598
|
-
Extract transcript/captions from a YouTube video. Rate limits: Build (50/day), Accelerate (500/day), Unlimited (unlimited).
|
|
599
|
-
|
|
600
|
-
### Examples
|
|
601
|
-
|
|
602
|
-
```ruby
|
|
603
|
-
require 'time'
|
|
604
|
-
require 'late-sdk'
|
|
605
|
-
# setup authorization
|
|
606
|
-
Late.configure do |config|
|
|
607
|
-
# Configure Bearer authorization (JWT): bearerAuth
|
|
608
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
609
|
-
end
|
|
610
|
-
|
|
611
|
-
api_instance = Late::ToolsApi.new
|
|
612
|
-
url = 'url_example' # String | YouTube video URL or video ID
|
|
613
|
-
opts = {
|
|
614
|
-
lang: 'lang_example' # String | Language code for transcript
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
begin
|
|
618
|
-
# Get YouTube transcript
|
|
619
|
-
result = api_instance.get_you_tube_transcript(url, opts)
|
|
620
|
-
p result
|
|
621
|
-
rescue Late::ApiError => e
|
|
622
|
-
puts "Error when calling ToolsApi->get_you_tube_transcript: #{e}"
|
|
623
|
-
end
|
|
624
|
-
```
|
|
625
|
-
|
|
626
|
-
#### Using the get_you_tube_transcript_with_http_info variant
|
|
627
|
-
|
|
628
|
-
This returns an Array which contains the response data, status code and headers.
|
|
629
|
-
|
|
630
|
-
> <Array(<GetYouTubeTranscript200Response>, Integer, Hash)> get_you_tube_transcript_with_http_info(url, opts)
|
|
631
|
-
|
|
632
|
-
```ruby
|
|
633
|
-
begin
|
|
634
|
-
# Get YouTube transcript
|
|
635
|
-
data, status_code, headers = api_instance.get_you_tube_transcript_with_http_info(url, opts)
|
|
636
|
-
p status_code # => 2xx
|
|
637
|
-
p headers # => { ... }
|
|
638
|
-
p data # => <GetYouTubeTranscript200Response>
|
|
639
|
-
rescue Late::ApiError => e
|
|
640
|
-
puts "Error when calling ToolsApi->get_you_tube_transcript_with_http_info: #{e}"
|
|
641
|
-
end
|
|
642
|
-
```
|
|
643
|
-
|
|
644
|
-
### Parameters
|
|
645
|
-
|
|
646
|
-
| Name | Type | Description | Notes |
|
|
647
|
-
| ---- | ---- | ----------- | ----- |
|
|
648
|
-
| **url** | **String** | YouTube video URL or video ID | |
|
|
649
|
-
| **lang** | **String** | Language code for transcript | [optional][default to 'en'] |
|
|
650
|
-
|
|
651
|
-
### Return type
|
|
652
|
-
|
|
653
|
-
[**GetYouTubeTranscript200Response**](GetYouTubeTranscript200Response.md)
|
|
654
|
-
|
|
655
|
-
### Authorization
|
|
656
|
-
|
|
657
|
-
[bearerAuth](../README.md#bearerAuth)
|
|
658
|
-
|
|
659
|
-
### HTTP request headers
|
|
660
|
-
|
|
661
|
-
- **Content-Type**: Not defined
|
|
662
|
-
- **Accept**: application/json
|
|
663
|
-
|
data/docs/TranscriptResponse.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Late::TranscriptResponse
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **transcript** | **String** | | [optional] |
|
|
8
|
-
| **segments** | [**Array<TranscriptSegment>**](TranscriptSegment.md) | | [optional] |
|
|
9
|
-
| **language** | **String** | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'late-sdk'
|
|
15
|
-
|
|
16
|
-
instance = Late::TranscriptResponse.new(
|
|
17
|
-
transcript: null,
|
|
18
|
-
segments: null,
|
|
19
|
-
language: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
data/docs/TranscriptSegment.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Late::TranscriptSegment
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **text** | **String** | | [optional] |
|
|
8
|
-
| **start** | **Float** | | [optional] |
|
|
9
|
-
| **duration** | **Float** | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'late-sdk'
|
|
15
|
-
|
|
16
|
-
instance = Late::TranscriptSegment.new(
|
|
17
|
-
text: null,
|
|
18
|
-
start: null,
|
|
19
|
-
duration: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|