title: How to programmatically access the Google API key in google-services.json
body: <p>The app uses Google Cloud Messaging and contains a google-services.json file which itself contains Google API authentication info, including the API key. GCM functions as expected.</p>
  
  <p>The app contains a testing facility that sends a GCM message using HTTP, and it needs the API key. How do I access that key, the one stored in google-services.json? I do not want to use GoogleCloudMessaging to send the messages (I'm using OkHttp and it does the job nicely).</p>
  
  <p>Hopefully it is not necessary to duplicate it in the app.</p>