Example #1
0
        static async Task ListAppBundles(string accessToken)
        {
            v3.AppBundlesApi appbundlesApi = new v3.AppBundlesApi();
            appbundlesApi.Configuration.AccessToken = accessToken;
            v3m.PageString appbundles = await appbundlesApi.AppBundlesGetItemsAsync();

            Console.WriteLine(" *** AppBundles ***");
            foreach (string appbundle in appbundles.Data)
            {
                Console.WriteLine(appbundle);
            }
        }
Example #2
0
        static async Task ListActivities(string accessToken)
        {
            v3.ActivitiesApi activitiesApi = new v3.ActivitiesApi();
            activitiesApi.Configuration.AccessToken = accessToken;
            v3m.PageString activities = await activitiesApi.ActivitiesGetItemsAsync();

            Console.WriteLine(" *** Activities ***");
            foreach (string activity in activities.Data)
            {
                Console.WriteLine(activity);
            }
        }