songtradr_api_client_ruby 1.18.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +14 -11
- data/docs/CategoryMediumDTO.md +3 -3
- data/docs/FileSmallDTO.md +5 -5
- data/docs/MusicalFeaturesDTO.md +37 -37
- data/docs/RecordingApi.md +36 -104
- data/docs/RecordingMediumDTO.md +4 -4
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingPartyDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +5 -5
- data/docs/UserApi.md +308 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +30 -96
- data/lib/songtradr_api_client_ruby/api/user_api.rb +296 -2
- data/lib/songtradr_api_client_ruby/api_client.rb +4 -5
- data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
- data/lib/songtradr_api_client_ruby/configuration.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +44 -44
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +168 -168
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +35 -35
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +38 -38
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -3
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +3 -3
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +10 -21
- data/spec/api/user_api_spec.rb +60 -2
- data/spec/models/category_medium_dto_spec.rb +4 -4
- data/spec/models/category_minimal_dto_spec.rb +2 -2
- data/spec/models/config_access_dto_spec.rb +2 -2
- data/spec/models/config_identifier_dto_spec.rb +2 -2
- data/spec/models/contributor_type_dto_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/field_summary_dto_spec.rb +2 -2
- data/spec/models/file_dto_spec.rb +2 -2
- data/spec/models/file_list_dto_spec.rb +2 -2
- data/spec/models/file_small_dto_spec.rb +18 -18
- data/spec/models/file_upload_dto_spec.rb +2 -2
- data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
- data/spec/models/files_summary_dto_spec.rb +2 -2
- data/spec/models/forgot_password_dto_spec.rb +2 -2
- data/spec/models/genre_dto_spec.rb +2 -2
- data/spec/models/genre_minimal_dto_spec.rb +2 -2
- data/spec/models/genres_summary_dto_spec.rb +2 -2
- data/spec/models/image_recognition_response_spec.rb +2 -2
- data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
- data/spec/models/jwt_token_dto_spec.rb +2 -2
- data/spec/models/login_dto_spec.rb +2 -2
- data/spec/models/musical_features_dto_spec.rb +110 -110
- data/spec/models/party_small_dto_spec.rb +2 -2
- data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
- data/spec/models/recording_genre_prediction_dto_spec.rb +2 -2
- data/spec/models/recording_list_dto_spec.rb +2 -2
- data/spec/models/recording_medium_dto_spec.rb +10 -10
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +4 -4
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
- data/spec/models/recording_party_dto_spec.rb +4 -4
- data/spec/models/recording_small_dto_spec.rb +6 -6
- data/spec/models/recording_tag_small_dto_spec.rb +2 -2
- data/spec/models/save_user_dto_spec.rb +2 -2
- data/spec/models/search_filter_values_dto_spec.rb +2 -2
- data/spec/models/sign_up_dto_spec.rb +2 -2
- data/spec/models/tag_dto_spec.rb +2 -2
- data/spec/models/tag_small_dto_spec.rb +2 -2
- data/spec/models/taggram_dto_spec.rb +2 -2
- data/spec/models/tags_summary_dto_spec.rb +2 -2
- data/spec/models/tagstrength_dto_spec.rb +2 -2
- data/spec/models/title_dto_spec.rb +2 -2
- data/spec/models/token_request_spec.rb +2 -2
- data/spec/models/track_dto_spec.rb +2 -2
- data/spec/models/update_password_dto_spec.rb +2 -2
- data/spec/models/user_dto_spec.rb +2 -2
- data/spec/models/video_recognition_response_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +42 -46
- data/docs/SearchRecordingGranularDTO.md +0 -20
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +0 -232
- data/spec/models/search_recording_granular_dto_spec.rb +0 -42
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,6 +19,38 @@ module SongtradrApiClientRuby
|
|
19
19
|
# Search for space
|
20
20
|
attr_accessor :space
|
21
21
|
|
22
|
+
attr_accessor :groovyness_affinity
|
23
|
+
|
24
|
+
attr_accessor :space_affinity
|
25
|
+
|
26
|
+
attr_accessor :loudness_affinity
|
27
|
+
|
28
|
+
attr_accessor :key_affinity
|
29
|
+
|
30
|
+
attr_accessor :channel_suitability_affinity
|
31
|
+
|
32
|
+
attr_accessor :valence_affinity
|
33
|
+
|
34
|
+
attr_accessor :arousal_affinity
|
35
|
+
|
36
|
+
attr_accessor :pleasantness_affinity
|
37
|
+
|
38
|
+
attr_accessor :engagement_affinity
|
39
|
+
|
40
|
+
attr_accessor :energy_affinity
|
41
|
+
|
42
|
+
attr_accessor :tempo_affinity
|
43
|
+
|
44
|
+
attr_accessor :scale_affinity
|
45
|
+
|
46
|
+
attr_accessor :timbre_affinity
|
47
|
+
|
48
|
+
attr_accessor :roughness_affinity
|
49
|
+
|
50
|
+
attr_accessor :harmony_affinity
|
51
|
+
|
52
|
+
attr_accessor :texture_affinity
|
53
|
+
|
22
54
|
attr_accessor :language_of_performance
|
23
55
|
|
24
56
|
# Search for an arousal
|
@@ -96,6 +128,10 @@ module SongtradrApiClientRuby
|
|
96
128
|
# Search for loudness
|
97
129
|
attr_accessor :loudness
|
98
130
|
|
131
|
+
attr_accessor :bpm
|
132
|
+
|
133
|
+
attr_accessor :primary_mood_cluster_affinity
|
134
|
+
|
99
135
|
# Search for a language of the lyrics
|
100
136
|
attr_accessor :secondary_mood_cluster
|
101
137
|
|
@@ -128,8 +164,6 @@ module SongtradrApiClientRuby
|
|
128
164
|
|
129
165
|
attr_accessor :tonality_affinity
|
130
166
|
|
131
|
-
attr_accessor :bpm
|
132
|
-
|
133
167
|
attr_accessor :production_rating
|
134
168
|
|
135
169
|
attr_accessor :production_rating_affinity
|
@@ -142,8 +176,6 @@ module SongtradrApiClientRuby
|
|
142
176
|
|
143
177
|
attr_accessor :song_rating_affinity
|
144
178
|
|
145
|
-
attr_accessor :primary_mood_cluster_affinity
|
146
|
-
|
147
179
|
attr_accessor :audience_age
|
148
180
|
|
149
181
|
attr_accessor :audience_age_affinity
|
@@ -189,38 +221,6 @@ module SongtradrApiClientRuby
|
|
189
221
|
|
190
222
|
attr_accessor :audience_region
|
191
223
|
|
192
|
-
attr_accessor :harmony_affinity
|
193
|
-
|
194
|
-
attr_accessor :texture_affinity
|
195
|
-
|
196
|
-
attr_accessor :groovyness_affinity
|
197
|
-
|
198
|
-
attr_accessor :space_affinity
|
199
|
-
|
200
|
-
attr_accessor :loudness_affinity
|
201
|
-
|
202
|
-
attr_accessor :key_affinity
|
203
|
-
|
204
|
-
attr_accessor :channel_suitability_affinity
|
205
|
-
|
206
|
-
attr_accessor :valence_affinity
|
207
|
-
|
208
|
-
attr_accessor :arousal_affinity
|
209
|
-
|
210
|
-
attr_accessor :pleasantness_affinity
|
211
|
-
|
212
|
-
attr_accessor :engagement_affinity
|
213
|
-
|
214
|
-
attr_accessor :energy_affinity
|
215
|
-
|
216
|
-
attr_accessor :tempo_affinity
|
217
|
-
|
218
|
-
attr_accessor :scale_affinity
|
219
|
-
|
220
|
-
attr_accessor :timbre_affinity
|
221
|
-
|
222
|
-
attr_accessor :roughness_affinity
|
223
|
-
|
224
224
|
class EnumAttributeValidator
|
225
225
|
attr_reader :datatype
|
226
226
|
attr_reader :allowable_values
|
@@ -247,6 +247,22 @@ module SongtradrApiClientRuby
|
|
247
247
|
def self.attribute_map
|
248
248
|
{
|
249
249
|
:'space' => :'space',
|
250
|
+
:'groovyness_affinity' => :'groovynessAffinity',
|
251
|
+
:'space_affinity' => :'spaceAffinity',
|
252
|
+
:'loudness_affinity' => :'loudnessAffinity',
|
253
|
+
:'key_affinity' => :'keyAffinity',
|
254
|
+
:'channel_suitability_affinity' => :'channelSuitabilityAffinity',
|
255
|
+
:'valence_affinity' => :'valenceAffinity',
|
256
|
+
:'arousal_affinity' => :'arousalAffinity',
|
257
|
+
:'pleasantness_affinity' => :'pleasantnessAffinity',
|
258
|
+
:'engagement_affinity' => :'engagementAffinity',
|
259
|
+
:'energy_affinity' => :'energyAffinity',
|
260
|
+
:'tempo_affinity' => :'tempoAffinity',
|
261
|
+
:'scale_affinity' => :'scaleAffinity',
|
262
|
+
:'timbre_affinity' => :'timbreAffinity',
|
263
|
+
:'roughness_affinity' => :'roughnessAffinity',
|
264
|
+
:'harmony_affinity' => :'harmonyAffinity',
|
265
|
+
:'texture_affinity' => :'textureAffinity',
|
250
266
|
:'language_of_performance' => :'languageOfPerformance',
|
251
267
|
:'arousal' => :'arousal',
|
252
268
|
:'dominant_instrument' => :'dominantInstrument',
|
@@ -273,6 +289,8 @@ module SongtradrApiClientRuby
|
|
273
289
|
:'use_case' => :'useCase',
|
274
290
|
:'channel_suitability' => :'channelSuitability',
|
275
291
|
:'loudness' => :'loudness',
|
292
|
+
:'bpm' => :'bpm',
|
293
|
+
:'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
|
276
294
|
:'secondary_mood_cluster' => :'secondaryMoodCluster',
|
277
295
|
:'secondary_mood_cluster_affinity' => :'secondaryMoodClusterAffinity',
|
278
296
|
:'tertiary_mood_cluster' => :'tertiaryMoodCluster',
|
@@ -287,14 +305,12 @@ module SongtradrApiClientRuby
|
|
287
305
|
:'rhythm_affinity' => :'rhythmAffinity',
|
288
306
|
:'primary_sound_character_affinity' => :'primarySoundCharacterAffinity',
|
289
307
|
:'tonality_affinity' => :'tonalityAffinity',
|
290
|
-
:'bpm' => :'bpm',
|
291
308
|
:'production_rating' => :'productionRating',
|
292
309
|
:'production_rating_affinity' => :'productionRatingAffinity',
|
293
310
|
:'performance_rating' => :'performanceRating',
|
294
311
|
:'performance_rating_affinity' => :'performanceRatingAffinity',
|
295
312
|
:'song_rating' => :'songRating',
|
296
313
|
:'song_rating_affinity' => :'songRatingAffinity',
|
297
|
-
:'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
|
298
314
|
:'audience_age' => :'audienceAge',
|
299
315
|
:'audience_age_affinity' => :'audienceAgeAffinity',
|
300
316
|
:'secondary_audience_age' => :'secondaryAudienceAge',
|
@@ -316,23 +332,7 @@ module SongtradrApiClientRuby
|
|
316
332
|
:'use_case_affinity' => :'useCaseAffinity',
|
317
333
|
:'industry_suitability' => :'industrySuitability',
|
318
334
|
:'industry_suitability_affinity' => :'industrySuitabilityAffinity',
|
319
|
-
:'audience_region' => :'audienceRegion'
|
320
|
-
:'harmony_affinity' => :'harmonyAffinity',
|
321
|
-
:'texture_affinity' => :'textureAffinity',
|
322
|
-
:'groovyness_affinity' => :'groovynessAffinity',
|
323
|
-
:'space_affinity' => :'spaceAffinity',
|
324
|
-
:'loudness_affinity' => :'loudnessAffinity',
|
325
|
-
:'key_affinity' => :'keyAffinity',
|
326
|
-
:'channel_suitability_affinity' => :'channelSuitabilityAffinity',
|
327
|
-
:'valence_affinity' => :'valenceAffinity',
|
328
|
-
:'arousal_affinity' => :'arousalAffinity',
|
329
|
-
:'pleasantness_affinity' => :'pleasantnessAffinity',
|
330
|
-
:'engagement_affinity' => :'engagementAffinity',
|
331
|
-
:'energy_affinity' => :'energyAffinity',
|
332
|
-
:'tempo_affinity' => :'tempoAffinity',
|
333
|
-
:'scale_affinity' => :'scaleAffinity',
|
334
|
-
:'timbre_affinity' => :'timbreAffinity',
|
335
|
-
:'roughness_affinity' => :'roughnessAffinity'
|
335
|
+
:'audience_region' => :'audienceRegion'
|
336
336
|
}
|
337
337
|
end
|
338
338
|
|
@@ -345,6 +345,22 @@ module SongtradrApiClientRuby
|
|
345
345
|
def self.openapi_types
|
346
346
|
{
|
347
347
|
:'space' => :'String',
|
348
|
+
:'groovyness_affinity' => :'Float',
|
349
|
+
:'space_affinity' => :'Float',
|
350
|
+
:'loudness_affinity' => :'Float',
|
351
|
+
:'key_affinity' => :'Float',
|
352
|
+
:'channel_suitability_affinity' => :'Float',
|
353
|
+
:'valence_affinity' => :'Float',
|
354
|
+
:'arousal_affinity' => :'Float',
|
355
|
+
:'pleasantness_affinity' => :'Float',
|
356
|
+
:'engagement_affinity' => :'Float',
|
357
|
+
:'energy_affinity' => :'Float',
|
358
|
+
:'tempo_affinity' => :'Float',
|
359
|
+
:'scale_affinity' => :'Float',
|
360
|
+
:'timbre_affinity' => :'Float',
|
361
|
+
:'roughness_affinity' => :'Float',
|
362
|
+
:'harmony_affinity' => :'Float',
|
363
|
+
:'texture_affinity' => :'Float',
|
348
364
|
:'language_of_performance' => :'String',
|
349
365
|
:'arousal' => :'String',
|
350
366
|
:'dominant_instrument' => :'String',
|
@@ -371,6 +387,8 @@ module SongtradrApiClientRuby
|
|
371
387
|
:'use_case' => :'String',
|
372
388
|
:'channel_suitability' => :'String',
|
373
389
|
:'loudness' => :'String',
|
390
|
+
:'bpm' => :'Float',
|
391
|
+
:'primary_mood_cluster_affinity' => :'Float',
|
374
392
|
:'secondary_mood_cluster' => :'String',
|
375
393
|
:'secondary_mood_cluster_affinity' => :'Float',
|
376
394
|
:'tertiary_mood_cluster' => :'String',
|
@@ -385,14 +403,12 @@ module SongtradrApiClientRuby
|
|
385
403
|
:'rhythm_affinity' => :'Float',
|
386
404
|
:'primary_sound_character_affinity' => :'Float',
|
387
405
|
:'tonality_affinity' => :'Float',
|
388
|
-
:'bpm' => :'Float',
|
389
406
|
:'production_rating' => :'String',
|
390
407
|
:'production_rating_affinity' => :'Float',
|
391
408
|
:'performance_rating' => :'String',
|
392
409
|
:'performance_rating_affinity' => :'Float',
|
393
410
|
:'song_rating' => :'String',
|
394
411
|
:'song_rating_affinity' => :'Float',
|
395
|
-
:'primary_mood_cluster_affinity' => :'Float',
|
396
412
|
:'audience_age' => :'String',
|
397
413
|
:'audience_age_affinity' => :'Float',
|
398
414
|
:'secondary_audience_age' => :'String',
|
@@ -414,23 +430,7 @@ module SongtradrApiClientRuby
|
|
414
430
|
:'use_case_affinity' => :'Float',
|
415
431
|
:'industry_suitability' => :'String',
|
416
432
|
:'industry_suitability_affinity' => :'Float',
|
417
|
-
:'audience_region' => :'String'
|
418
|
-
:'harmony_affinity' => :'Float',
|
419
|
-
:'texture_affinity' => :'Float',
|
420
|
-
:'groovyness_affinity' => :'Float',
|
421
|
-
:'space_affinity' => :'Float',
|
422
|
-
:'loudness_affinity' => :'Float',
|
423
|
-
:'key_affinity' => :'Float',
|
424
|
-
:'channel_suitability_affinity' => :'Float',
|
425
|
-
:'valence_affinity' => :'Float',
|
426
|
-
:'arousal_affinity' => :'Float',
|
427
|
-
:'pleasantness_affinity' => :'Float',
|
428
|
-
:'engagement_affinity' => :'Float',
|
429
|
-
:'energy_affinity' => :'Float',
|
430
|
-
:'tempo_affinity' => :'Float',
|
431
|
-
:'scale_affinity' => :'Float',
|
432
|
-
:'timbre_affinity' => :'Float',
|
433
|
-
:'roughness_affinity' => :'Float'
|
433
|
+
:'audience_region' => :'String'
|
434
434
|
}
|
435
435
|
end
|
436
436
|
|
@@ -459,6 +459,70 @@ module SongtradrApiClientRuby
|
|
459
459
|
self.space = attributes[:'space']
|
460
460
|
end
|
461
461
|
|
462
|
+
if attributes.key?(:'groovyness_affinity')
|
463
|
+
self.groovyness_affinity = attributes[:'groovyness_affinity']
|
464
|
+
end
|
465
|
+
|
466
|
+
if attributes.key?(:'space_affinity')
|
467
|
+
self.space_affinity = attributes[:'space_affinity']
|
468
|
+
end
|
469
|
+
|
470
|
+
if attributes.key?(:'loudness_affinity')
|
471
|
+
self.loudness_affinity = attributes[:'loudness_affinity']
|
472
|
+
end
|
473
|
+
|
474
|
+
if attributes.key?(:'key_affinity')
|
475
|
+
self.key_affinity = attributes[:'key_affinity']
|
476
|
+
end
|
477
|
+
|
478
|
+
if attributes.key?(:'channel_suitability_affinity')
|
479
|
+
self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
|
480
|
+
end
|
481
|
+
|
482
|
+
if attributes.key?(:'valence_affinity')
|
483
|
+
self.valence_affinity = attributes[:'valence_affinity']
|
484
|
+
end
|
485
|
+
|
486
|
+
if attributes.key?(:'arousal_affinity')
|
487
|
+
self.arousal_affinity = attributes[:'arousal_affinity']
|
488
|
+
end
|
489
|
+
|
490
|
+
if attributes.key?(:'pleasantness_affinity')
|
491
|
+
self.pleasantness_affinity = attributes[:'pleasantness_affinity']
|
492
|
+
end
|
493
|
+
|
494
|
+
if attributes.key?(:'engagement_affinity')
|
495
|
+
self.engagement_affinity = attributes[:'engagement_affinity']
|
496
|
+
end
|
497
|
+
|
498
|
+
if attributes.key?(:'energy_affinity')
|
499
|
+
self.energy_affinity = attributes[:'energy_affinity']
|
500
|
+
end
|
501
|
+
|
502
|
+
if attributes.key?(:'tempo_affinity')
|
503
|
+
self.tempo_affinity = attributes[:'tempo_affinity']
|
504
|
+
end
|
505
|
+
|
506
|
+
if attributes.key?(:'scale_affinity')
|
507
|
+
self.scale_affinity = attributes[:'scale_affinity']
|
508
|
+
end
|
509
|
+
|
510
|
+
if attributes.key?(:'timbre_affinity')
|
511
|
+
self.timbre_affinity = attributes[:'timbre_affinity']
|
512
|
+
end
|
513
|
+
|
514
|
+
if attributes.key?(:'roughness_affinity')
|
515
|
+
self.roughness_affinity = attributes[:'roughness_affinity']
|
516
|
+
end
|
517
|
+
|
518
|
+
if attributes.key?(:'harmony_affinity')
|
519
|
+
self.harmony_affinity = attributes[:'harmony_affinity']
|
520
|
+
end
|
521
|
+
|
522
|
+
if attributes.key?(:'texture_affinity')
|
523
|
+
self.texture_affinity = attributes[:'texture_affinity']
|
524
|
+
end
|
525
|
+
|
462
526
|
if attributes.key?(:'language_of_performance')
|
463
527
|
self.language_of_performance = attributes[:'language_of_performance']
|
464
528
|
end
|
@@ -563,6 +627,14 @@ module SongtradrApiClientRuby
|
|
563
627
|
self.loudness = attributes[:'loudness']
|
564
628
|
end
|
565
629
|
|
630
|
+
if attributes.key?(:'bpm')
|
631
|
+
self.bpm = attributes[:'bpm']
|
632
|
+
end
|
633
|
+
|
634
|
+
if attributes.key?(:'primary_mood_cluster_affinity')
|
635
|
+
self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
|
636
|
+
end
|
637
|
+
|
566
638
|
if attributes.key?(:'secondary_mood_cluster')
|
567
639
|
self.secondary_mood_cluster = attributes[:'secondary_mood_cluster']
|
568
640
|
end
|
@@ -619,10 +691,6 @@ module SongtradrApiClientRuby
|
|
619
691
|
self.tonality_affinity = attributes[:'tonality_affinity']
|
620
692
|
end
|
621
693
|
|
622
|
-
if attributes.key?(:'bpm')
|
623
|
-
self.bpm = attributes[:'bpm']
|
624
|
-
end
|
625
|
-
|
626
694
|
if attributes.key?(:'production_rating')
|
627
695
|
self.production_rating = attributes[:'production_rating']
|
628
696
|
end
|
@@ -647,10 +715,6 @@ module SongtradrApiClientRuby
|
|
647
715
|
self.song_rating_affinity = attributes[:'song_rating_affinity']
|
648
716
|
end
|
649
717
|
|
650
|
-
if attributes.key?(:'primary_mood_cluster_affinity')
|
651
|
-
self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
|
652
|
-
end
|
653
|
-
|
654
718
|
if attributes.key?(:'audience_age')
|
655
719
|
self.audience_age = attributes[:'audience_age']
|
656
720
|
end
|
@@ -738,70 +802,6 @@ module SongtradrApiClientRuby
|
|
738
802
|
if attributes.key?(:'audience_region')
|
739
803
|
self.audience_region = attributes[:'audience_region']
|
740
804
|
end
|
741
|
-
|
742
|
-
if attributes.key?(:'harmony_affinity')
|
743
|
-
self.harmony_affinity = attributes[:'harmony_affinity']
|
744
|
-
end
|
745
|
-
|
746
|
-
if attributes.key?(:'texture_affinity')
|
747
|
-
self.texture_affinity = attributes[:'texture_affinity']
|
748
|
-
end
|
749
|
-
|
750
|
-
if attributes.key?(:'groovyness_affinity')
|
751
|
-
self.groovyness_affinity = attributes[:'groovyness_affinity']
|
752
|
-
end
|
753
|
-
|
754
|
-
if attributes.key?(:'space_affinity')
|
755
|
-
self.space_affinity = attributes[:'space_affinity']
|
756
|
-
end
|
757
|
-
|
758
|
-
if attributes.key?(:'loudness_affinity')
|
759
|
-
self.loudness_affinity = attributes[:'loudness_affinity']
|
760
|
-
end
|
761
|
-
|
762
|
-
if attributes.key?(:'key_affinity')
|
763
|
-
self.key_affinity = attributes[:'key_affinity']
|
764
|
-
end
|
765
|
-
|
766
|
-
if attributes.key?(:'channel_suitability_affinity')
|
767
|
-
self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
|
768
|
-
end
|
769
|
-
|
770
|
-
if attributes.key?(:'valence_affinity')
|
771
|
-
self.valence_affinity = attributes[:'valence_affinity']
|
772
|
-
end
|
773
|
-
|
774
|
-
if attributes.key?(:'arousal_affinity')
|
775
|
-
self.arousal_affinity = attributes[:'arousal_affinity']
|
776
|
-
end
|
777
|
-
|
778
|
-
if attributes.key?(:'pleasantness_affinity')
|
779
|
-
self.pleasantness_affinity = attributes[:'pleasantness_affinity']
|
780
|
-
end
|
781
|
-
|
782
|
-
if attributes.key?(:'engagement_affinity')
|
783
|
-
self.engagement_affinity = attributes[:'engagement_affinity']
|
784
|
-
end
|
785
|
-
|
786
|
-
if attributes.key?(:'energy_affinity')
|
787
|
-
self.energy_affinity = attributes[:'energy_affinity']
|
788
|
-
end
|
789
|
-
|
790
|
-
if attributes.key?(:'tempo_affinity')
|
791
|
-
self.tempo_affinity = attributes[:'tempo_affinity']
|
792
|
-
end
|
793
|
-
|
794
|
-
if attributes.key?(:'scale_affinity')
|
795
|
-
self.scale_affinity = attributes[:'scale_affinity']
|
796
|
-
end
|
797
|
-
|
798
|
-
if attributes.key?(:'timbre_affinity')
|
799
|
-
self.timbre_affinity = attributes[:'timbre_affinity']
|
800
|
-
end
|
801
|
-
|
802
|
-
if attributes.key?(:'roughness_affinity')
|
803
|
-
self.roughness_affinity = attributes[:'roughness_affinity']
|
804
|
-
end
|
805
805
|
end
|
806
806
|
|
807
807
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -1341,6 +1341,22 @@ module SongtradrApiClientRuby
|
|
1341
1341
|
return true if self.equal?(o)
|
1342
1342
|
self.class == o.class &&
|
1343
1343
|
space == o.space &&
|
1344
|
+
groovyness_affinity == o.groovyness_affinity &&
|
1345
|
+
space_affinity == o.space_affinity &&
|
1346
|
+
loudness_affinity == o.loudness_affinity &&
|
1347
|
+
key_affinity == o.key_affinity &&
|
1348
|
+
channel_suitability_affinity == o.channel_suitability_affinity &&
|
1349
|
+
valence_affinity == o.valence_affinity &&
|
1350
|
+
arousal_affinity == o.arousal_affinity &&
|
1351
|
+
pleasantness_affinity == o.pleasantness_affinity &&
|
1352
|
+
engagement_affinity == o.engagement_affinity &&
|
1353
|
+
energy_affinity == o.energy_affinity &&
|
1354
|
+
tempo_affinity == o.tempo_affinity &&
|
1355
|
+
scale_affinity == o.scale_affinity &&
|
1356
|
+
timbre_affinity == o.timbre_affinity &&
|
1357
|
+
roughness_affinity == o.roughness_affinity &&
|
1358
|
+
harmony_affinity == o.harmony_affinity &&
|
1359
|
+
texture_affinity == o.texture_affinity &&
|
1344
1360
|
language_of_performance == o.language_of_performance &&
|
1345
1361
|
arousal == o.arousal &&
|
1346
1362
|
dominant_instrument == o.dominant_instrument &&
|
@@ -1367,6 +1383,8 @@ module SongtradrApiClientRuby
|
|
1367
1383
|
use_case == o.use_case &&
|
1368
1384
|
channel_suitability == o.channel_suitability &&
|
1369
1385
|
loudness == o.loudness &&
|
1386
|
+
bpm == o.bpm &&
|
1387
|
+
primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
|
1370
1388
|
secondary_mood_cluster == o.secondary_mood_cluster &&
|
1371
1389
|
secondary_mood_cluster_affinity == o.secondary_mood_cluster_affinity &&
|
1372
1390
|
tertiary_mood_cluster == o.tertiary_mood_cluster &&
|
@@ -1381,14 +1399,12 @@ module SongtradrApiClientRuby
|
|
1381
1399
|
rhythm_affinity == o.rhythm_affinity &&
|
1382
1400
|
primary_sound_character_affinity == o.primary_sound_character_affinity &&
|
1383
1401
|
tonality_affinity == o.tonality_affinity &&
|
1384
|
-
bpm == o.bpm &&
|
1385
1402
|
production_rating == o.production_rating &&
|
1386
1403
|
production_rating_affinity == o.production_rating_affinity &&
|
1387
1404
|
performance_rating == o.performance_rating &&
|
1388
1405
|
performance_rating_affinity == o.performance_rating_affinity &&
|
1389
1406
|
song_rating == o.song_rating &&
|
1390
1407
|
song_rating_affinity == o.song_rating_affinity &&
|
1391
|
-
primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
|
1392
1408
|
audience_age == o.audience_age &&
|
1393
1409
|
audience_age_affinity == o.audience_age_affinity &&
|
1394
1410
|
secondary_audience_age == o.secondary_audience_age &&
|
@@ -1410,23 +1426,7 @@ module SongtradrApiClientRuby
|
|
1410
1426
|
use_case_affinity == o.use_case_affinity &&
|
1411
1427
|
industry_suitability == o.industry_suitability &&
|
1412
1428
|
industry_suitability_affinity == o.industry_suitability_affinity &&
|
1413
|
-
audience_region == o.audience_region
|
1414
|
-
harmony_affinity == o.harmony_affinity &&
|
1415
|
-
texture_affinity == o.texture_affinity &&
|
1416
|
-
groovyness_affinity == o.groovyness_affinity &&
|
1417
|
-
space_affinity == o.space_affinity &&
|
1418
|
-
loudness_affinity == o.loudness_affinity &&
|
1419
|
-
key_affinity == o.key_affinity &&
|
1420
|
-
channel_suitability_affinity == o.channel_suitability_affinity &&
|
1421
|
-
valence_affinity == o.valence_affinity &&
|
1422
|
-
arousal_affinity == o.arousal_affinity &&
|
1423
|
-
pleasantness_affinity == o.pleasantness_affinity &&
|
1424
|
-
engagement_affinity == o.engagement_affinity &&
|
1425
|
-
energy_affinity == o.energy_affinity &&
|
1426
|
-
tempo_affinity == o.tempo_affinity &&
|
1427
|
-
scale_affinity == o.scale_affinity &&
|
1428
|
-
timbre_affinity == o.timbre_affinity &&
|
1429
|
-
roughness_affinity == o.roughness_affinity
|
1429
|
+
audience_region == o.audience_region
|
1430
1430
|
end
|
1431
1431
|
|
1432
1432
|
# @see the `==` method
|
@@ -1438,7 +1438,7 @@ module SongtradrApiClientRuby
|
|
1438
1438
|
# Calculates hash code according to all attributes.
|
1439
1439
|
# @return [Integer] Hash code
|
1440
1440
|
def hash
|
1441
|
-
[space, language_of_performance, arousal, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, roughness, scale, key, sound_generation, tempo, texture, timbre, tonality, valence, vocals, origin_decade, curateability, use_case, channel_suitability, loudness, secondary_mood_cluster, secondary_mood_cluster_affinity, tertiary_mood_cluster, tertiary_mood_cluster_affinity, vocals_affinity, dominant_instrument_affinity, secondary_instrument, secondary_instrument_affinity, tertiary_instrument, tertiary_instrument_affinity, sound_generation_affinity, rhythm_affinity, primary_sound_character_affinity, tonality_affinity,
|
1441
|
+
[space, groovyness_affinity, space_affinity, loudness_affinity, key_affinity, channel_suitability_affinity, valence_affinity, arousal_affinity, pleasantness_affinity, engagement_affinity, energy_affinity, tempo_affinity, scale_affinity, timbre_affinity, roughness_affinity, harmony_affinity, texture_affinity, language_of_performance, arousal, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, roughness, scale, key, sound_generation, tempo, texture, timbre, tonality, valence, vocals, origin_decade, curateability, use_case, channel_suitability, loudness, bpm, primary_mood_cluster_affinity, secondary_mood_cluster, secondary_mood_cluster_affinity, tertiary_mood_cluster, tertiary_mood_cluster_affinity, vocals_affinity, dominant_instrument_affinity, secondary_instrument, secondary_instrument_affinity, tertiary_instrument, tertiary_instrument_affinity, sound_generation_affinity, rhythm_affinity, primary_sound_character_affinity, tonality_affinity, production_rating, production_rating_affinity, performance_rating, performance_rating_affinity, song_rating, song_rating_affinity, audience_age, audience_age_affinity, secondary_audience_age, secondary_audience_age_affinity, tertiary_audience_age, tertiary_audience_age_affinity, audience_gender, audience_gender_affinity, audience_region_affinity, secondary_audience_region, secondary_audience_region_affinity, tertiary_audience_region, tertiary_audience_region_affinity, origin_region, origin_region_affinity, origin_decade_affinity, language_of_performance_affinity, curateability_affinity, use_case_affinity, industry_suitability, industry_suitability_affinity, audience_region].hash
|
1442
1442
|
end
|
1443
1443
|
|
1444
1444
|
# Builds the object from hash
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 2.1.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|