import textwrap GlobalSoundRecordingSearchES = textwrap.dedent( """ query GlobalSoundRecordingSearchES($term: String, $queryType: String, $catalogOnly: Boolean, $filters: GlobalSoundRecordingSearchFilterInput) { globalSoundRecordingSearchES(term: $term, queryType: $queryType, catalogOnly: $catalogOnly, filters: $filters) { facets { participantCountries { count items { count key label } } participants { count } vendors { count } } items { item { distributors globalSoundRecording { isrc } id imageUrl imprint isPartOfCatalog isrc labels { subaccountId subaccountName vendorId vendorName } name names participants { countryCode id imageUrl name roles socialAccountIds { appleMusic chartmetric spotify } socialStats { followers monthlyListeners popularity views } } popularity releaseDate socialAccountIds { appleMusic spotify } usageStats { streams1Day streams1DayGrowth streams28Days streams28DaysGrowth streams7Days streams7DaysGrowth streamsAllTime } } score } queryType totalCount } } """ )