Which API key do I use in SpeechRecognition (Google) in python
<p>I am working on a project that uses voice recognition in python and I was looking at some example code, I was wondering which API key to use and what does it look like.</p>

<pre><code>def callback(recognizer, audio):
# received audio data, now we'll recognize it using Google Speech Recognition
try:
    # for testing purposes, we're just using the default API key
    # to use another API key, use `r.recognize_google(audio, key="GOOGLE_SPEECH_RECOGNITION_API_KEY")`
    # instead of `r.recognize_google(audio)`
    print(recognizer.recognize_google(audio)) &lt;-- right there
except sr.UnknownValueError:
    pass
except sr.RequestError as e:
    pass
</code></pre>

<p>I have a google developer account. Please help. Thanks! </p>

<p>Create an account here <a href="https://cloud.google.com/speech/" rel="nofollow">Google Cloud Speech API</a>. You will be able to get a limited amount of api requests with a free account.
for a full documentation, visit <a href="https://cloud.google.com/speech/docs/rest-tutorial" rel="nofollow">https://cloud.google.com/speech/docs/rest-tutorial</a></p>

python api