简体   繁体   English

如何从API检索WAV文件?

[英]How to retrieve wav file from API?

I am working on Python3.4.4 I tried to use a Merriam-Webster API, and here is an example link: http://www.dictionaryapi.com/api/v1/references/collegiate/xml/purple?key=bf534d02-bf4e-49bc-b43f-37f68a0bf4fd 我正在使用Python3.4.4,尝试使用Merriam-Webster API,这是示例链接: http : //www.dictionaryapi.com/api/v1/references/collegiate/xml/purple? key=bf534d02- bf4e-49bc-b43f-37f68a0bf4fd

There is a file under the tag, you will see after you open the url. 标签下有一个文件,打开url后将看到。

And I am wondering that how can I retrieve that wav file...... 而且我想知道如何检索该wav文件......

Because it is kind of just a string to me...... 因为对我来说这只是一个字符串...

Thank you very much! 非常感谢你!

Okay, I just sort it out. 好吧,我只是整理一下。 Usually you need to look at the instructions for the API, I look it up on the official website and it tells you that how you are going to retrieve that. 通常,您需要查看API的说明,我在官方网站上查找了该说明,它告诉您如何检索它。 In this case you are going to another url, and then wala 在这种情况下,您将转到另一个URL,然后进入

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM