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 = 'developer.echonest.com'

The API endpoint you’re talking to

pyechonest.config.API_SELECTOR = 'api'

API selector... just ‘api’ for now

pyechonest.config.API_VERSION = 'v4'

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

pyechonest.config.CALL_TIMEOUT = 10

The API call timeout (seconds)

pyechonest.config.CODEGEN_BINARY_OVERRIDE = None

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 = 'PyEchonest'

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

pyechonest.config.TRACE_API_CALLS = False

If true, API calls will be traced to the console

Previous topic

Util – utility functions

Next topic

Proxies – object proxies

This Page