init api with parameters for app_token and api_location. Just to test them in the console.