我正在尝试提取谷歌驱动器文件的内容。这是一个谷歌文档文件。我有提取整个文档的代码,包括元数据等。我看到了与此相关的 google api 页面:https ://developers.google.com/drive/...m_google_drive
我无法从我的代码中解析出正文。有人做过吗?谢谢,维克多。
Dim request As HttpWebRequest = DirectCast(WebRequest.Create("insert google doc url here"), HttpWebRequest)
Dim response As HttpWebResponse = DirectCast(request.GetResponse(), HttpWebResponse)
Dim Stream As Stream = response.GetResponseStream()
Dim reader As StreamReader = New StreamReader(Stream)
MsgBox(reader.ReadToEnd)