Youtube API和Excel – 从单元格(videoURL)检索用户名
这是Excelmacros功课。 任务是根据URL显示YouTubevideo频道名称。 假设我们有列A(每个单元格是独立的videoURL)和列B我要显示名称。
我知道通过使用这个代码:
https://www.googleapis.com/youtube/v3/videos?id=<video_id>&key=<YOUR_API_KEY>&part=snippet
我可以显示包含"channelTitle"
variables的基本数据。 但是,如何只显示频道标题?
https://developers.google.com/youtube/v3/getting-started#part
我会说fields
= channelTitle
。 在VBAmacros中玩弄一下或者parsingJSON: 在Excel VBA中parsingJSON