danielg88/Alexa-MicroStrategy

What is "base_url"?

Closed this issue · 1 comments

Hi, I want to test the possibility of Alexa's interaction with MSTR. Found your repository, I really liked your work. But I had a question: "Could you tell me what is "base_url" (in MicroConnect.py) and where can I get it?"

# this part of code
def getAnswer (slot): 
    metric = 0
    metric_PM = 0
    base_url = "https://MICROSTRATEGYSERVER.com/MicroStrategyLibrary/api"
    mstr_username = "MSTR_USER"
    mstr_password = "MSTR_PASSWORD"
    project_name = "Retail (MicroStrategy Tutorial)"
    report_id = "1D6A7D3211E9F763F1300080EFB55B59"
    conn = Connection(base_url, mstr_username, mstr_password, project_name=project_name,
                     login_mode=16)
    conn.connect()

You probably figured it out already but base url is your MicroStrategy Library URL.