<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Config – configuration file &mdash; pyechonest v4 documentation</title>
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '4',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="pyechonest v4 documentation" href="index.html" />
    <link rel="next" title="Proxies – object proxies" href="proxies.html" />
    <link rel="prev" title="Util – utility functions" href="util.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="proxies.html" title="Proxies – object proxies"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="util.html" title="Util – utility functions"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">pyechonest v4 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-pyechonest.config">
<span id="config-configuration-file"></span><h1>Config &#8211; configuration file<a class="headerlink" href="#module-pyechonest.config" title="Permalink to this headline">¶</a></h1>
<p>Copyright (c) 2010 The Echo Nest. All rights reserved.
Created by Tyler Williams on 2010-04-25.</p>
<p>Global configuration variables for accessing the Echo Nest web API.</p>
<dl class="data">
<dt id="pyechonest.config.API_HOST">
<tt class="descclassname">pyechonest.config.</tt><tt class="descname">API_HOST</tt><a class="headerlink" href="#pyechonest.config.API_HOST" title="Permalink to this definition">¶</a></dt>
<dd><p>The API endpoint you&#8217;re talking to</p>
</dd></dl>

<dl class="data">
<dt id="pyechonest.config.API_SELECTOR">
<tt class="descclassname">pyechonest.config.</tt><tt class="descname">API_SELECTOR</tt><a class="headerlink" href="#pyechonest.config.API_SELECTOR" title="Permalink to this definition">¶</a></dt>
<dd><p>API selector... just &#8216;api&#8217; for now</p>
</dd></dl>

<dl class="data">
<dt id="pyechonest.config.API_VERSION">
<tt class="descclassname">pyechonest.config.</tt><tt class="descname">API_VERSION</tt><a class="headerlink" href="#pyechonest.config.API_VERSION" title="Permalink to this definition">¶</a></dt>
<dd><p>Version of api to use... only 4 for now</p>
</dd></dl>

<dl class="data">
<dt id="pyechonest.config.CALL_TIMEOUT">
<tt class="descclassname">pyechonest.config.</tt><tt class="descname">CALL_TIMEOUT</tt><a class="headerlink" href="#pyechonest.config.CALL_TIMEOUT" title="Permalink to this definition">¶</a></dt>
<dd><p>The API call timeout (seconds)</p>
</dd></dl>

<dl class="data">
<dt id="pyechonest.config.CODEGEN_BINARY_OVERRIDE">
<tt class="descclassname">pyechonest.config.</tt><tt class="descname">CODEGEN_BINARY_OVERRIDE</tt><a class="headerlink" href="#pyechonest.config.CODEGEN_BINARY_OVERRIDE" title="Permalink to this definition">¶</a></dt>
<dd><p>Location of your codegen binary. If not given, we will guess codegen.platform-architecture on your system path, e.g. codegen.Darwin, codegen.Linux-i386</p>
</dd></dl>

<dl class="data">
<dt id="pyechonest.config.HTTP_USER_AGENT">
<tt class="descclassname">pyechonest.config.</tt><tt class="descname">HTTP_USER_AGENT</tt><a class="headerlink" href="#pyechonest.config.HTTP_USER_AGENT" title="Permalink to this definition">¶</a></dt>
<dd><p>You may change this to be a user agent string of your
own choosing</p>
</dd></dl>

<dl class="data">
<dt id="pyechonest.config.TRACE_API_CALLS">
<tt class="descclassname">pyechonest.config.</tt><tt class="descname">TRACE_API_CALLS</tt><a class="headerlink" href="#pyechonest.config.TRACE_API_CALLS" title="Permalink to this definition">¶</a></dt>
<dd><p>If true, API calls will be traced to the console</p>
</dd></dl>

</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h4>Previous topic</h4>
  <p class="topless"><a href="util.html"
                        title="previous chapter">Util &#8211; utility functions</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="proxies.html"
                        title="next chapter">Proxies &#8211; object proxies</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/config.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="proxies.html" title="Proxies – object proxies"
             >next</a> |</li>
        <li class="right" >
          <a href="util.html" title="Util – utility functions"
             >previous</a> |</li>
        <li><a href="index.html">pyechonest v4 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2010, The Echo Nest.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.5.
    </div>
  </body>
</html>