<filename>boxsdk/config.py
# coding: utf-8

from __future__ import unicode_literals, absolute_import

from . import version


class API(object):
    """Configuration object containing the URLs for the Box API."""
    BASE_API_URL = 'https://api.box.com/2.0'
    UPLOAD_URL = 'https://upload.box.com/api/2.0'
    OAUTH2_API_URL = 'https://api.box.com/oauth2'  # <https://developers.box.com/docs/#oauth-2>
    OAUTH2_AUTHORIZE_URL = 'https://app.box.com/api/oauth2/authorize'  # <https://developers.box.com/docs/#oauth-2-authorize>


class Client(object):
    """Configuration object containing the user agent string."""
    VERSION = version.__version__
    USER_AGENT_STRING = 'box-python-sdk-{0}'.format(VERSION)

<filename>boxsdk/config.py
# coding: utf-8

from __future__ import unicode_literals, absolute_import

from . import version


class API(object):
    """Configuration object containing the URLs for the Box API."""
    BASE_API_URL = 'https://api.box.com/2.0'
    UPLOAD_URL = 'https://upload.box.com/api/2.0'
    OAUTH2_API_URL = 'https://api.box.com/oauth2'  # <https://developers.box.com/docs/#oauth-2>
    OAUTH2_AUTHORIZE_URL = 'https://app.box.com/api/oauth2/authorize'  # <https://developers.box.com/docs/#oauth-2-authorize>


class Client(object):
    """Configuration object containing the user agent string."""
    VERSION = version.__version__
    USER_AGENT_STRING = 'box-python-sdk-{0}'.format(VERSION)

# coding: utf-8 Configuration object containing the URLs for the Box API. # <https://developers.box.com/docs/#oauth-2> # <https://developers.box.com/docs/#oauth-2-authorize> Configuration object containing the user agent string.