title: GSpread pass credentials from Python not JSON
body: <p>Im using GSpread trying to pass the content on my JSON file (Google API Service Application credentials) as a python Dictionary on my script. Im trying to not to carry a json file wherever I take my script. </p>
  
  <p>I get the following error when I tried to pass a dictionary instead of a json file on the following line:</p>
  
  <pre><code>credentials = ServiceAccountCredentials.from_json_keyfile_name(auth_gdrive(), scope)
  </code></pre>
  
  <p>TypeError: expected str, bytes or os.PathLike object, not set</p>
  
  <pre><code>### auth_gdrive() returns a dictionary like this:
  
  def auth_gdrive():
      dic = {
          "type": "miauuuuuu",
          "pass": "miauuuu"
      }
  </code></pre>
  
  <p>Im not allow to show whats really in the dic. </p>