private CategoryRelatedTags GetCategoryRelatedTagsApi() { var api = new CategoryRelatedTags(); api.Arguments.ApiKey = apiKey; api.Arguments.category_id = 125; api.Arguments.tag_names = "services;quarterly"; return(api); }
private async void categories_categoryRelatedTagsButton_Click(object sender, EventArgs e) { CategoryRelatedTags api = new CategoryRelatedTags { ApiKey = apiKey }; api.Arguments.category_id = 125; api.Arguments.tag_names = "services;quarterly"; if (fredValidationButton.Checked) { api.Arguments.Validators.Clear(); } TagContainer container = syncButton.Checked ? api.Fetch() : await api.FetchAsync(); ShowResults(api); }