JTS在youtube-data-api中重复数据

时间:2017-10-17 13:25:13

标签: json youtube youtube-api youtube-data-api

我在频道和某些频道上运行youtube api(下面给出一个示例),我在本地化下获得了重复的JSON数据。例如,

https://www.googleapis.com/youtube/v3/channels?id=UCbbVAtyywkQscZc76qc8L5Q&part=brandingSettings,contentDetails,contentOwnerDetails,id,snippet,statistics,status,topicDetails,localizations&key=...

我在本地化下得到了这个

"localizations": {
    "de": {
     "title": "Ruesch Productions Aviation Cinematography",
     "description": "Welcome to the official RUESCH PRODUCTIONS YouTube Channel! Experience, aircrafts and the exciting life of airports as you have never seen before. We guarantee you a lot of emotions in our films, with exciting music and spectacular views. Feel the fascination of flying! \n\nThis is aviation cinematography! \n\nYour Producer\nAndy Ruesch"
    },
    "de": {
     "title": "Ruesch Productions Aviation Cinematography",
     "description": "Willkommen auf dem offiziellen RUESCH PRODUCTIONS YouTube-Kanal! Wir sind Ihr Spezialist für die Luftfahrtdreharbeiten , und vieles mehr. Erleben Sie Flugzeuge und das aufregende Leben auf den Flughäfen, wie Sie es noch nie gesehen haben. Wir garantieren Ihnen eine Menge Emotionen in unseren Filmen, mit aufregender Musik und spektakulären Ausblicke. Spüren Sie die Faszination des Fliegens! Wir sind Ihr Spezialist für Aerial-, Cockpit- und Airportshots.\n\nDas ist aviation cinematography!\n\nIhr Produzent\nAndy Ruesch"
    }
   }

正如您所见,“de”在JSON数组中出现两次。为什么会这样?

0 个答案:

没有答案