def get_url(sandbox=True):
    """Return the url for the sandbox or the real account

    Usage::
        url = get_url(sandbox=sandbox)

    :type sandbox: bool
    :param sandbox: determines whether you get the url for the sandbox
    account (True) or the real account (False).

    :rtype: str
    :returns: the entrypoint url to access the FNAC WebServices

    """
    use_sandbox = {
        True: "https://partners-test.mp.fnacdarty.com/api.php/",
        False: "https://vendeur.fnac.com/api.php/",
    }
    return use_sandbox[sandbox]