Config – configuration file

Copyright (c) 2010 The Echo Nest. All rights reserved. Created by Tyler Williams on 2010-04-25.

Global configuration variables for accessing the Echo Nest web API.

pyechonest.config.API_HOST

The API endpoint you’re talking to

pyechonest.config.API_SELECTOR

API selector... just ‘api’ for now

pyechonest.config.API_VERSION

Version of api to use... only 4 for now

pyechonest.config.CALL_TIMEOUT

The API call timeout (seconds)

pyechonest.config.CODEGEN_BINARY_OVERRIDE

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

pyechonest.config.HTTP_USER_AGENT

You may change this to be a user agent string of your own choosing

pyechonest.config.TRACE_API_CALLS

If true, API calls will be traced to the console

Previous topic

Util – utility functions

Next topic

Proxies – object proxies

This Page