Commit 6bc533ff authored by Matija Obreza's avatar Matija Obreza

Print CodeValues

parent 07f3d6d2
......@@ -41,13 +41,25 @@ namespace Example
var apiInstance = new AccessionApi(Configuration.Default);
var apiTaxonomy = new TaxonomyApi(Configuration.Default);
var apiTaxonomy = new TaxonomyApi(Configuration.Default);
var apiApp = new ApplicationApi(Configuration.Default);
var instCode = "BEL084"; // string | instCode
// var batch = new List<AccessionHeaderJson>(); // List<AccessionHeaderJson> | batch
try
{
var codeValues = apiApp.CodeValuesList("en-US");
foreach (var codeValue in codeValues)
{
foreach (var k in codeValue.Value.Keys)
{
Debug.WriteLine(codeValue.Key + "." + k + " = " + codeValue.Value[k]);
Console.Out.WriteLine(codeValue.Key + "." + k + " = " + codeValue.Value[k]);
}
}
return;
var speciesFilter = new InlineObject2();
var taxonomyFamily = apiTaxonomy.GetFamily(43255);//.FilterSpecies(null, speciesFilter);
Console.Out.WriteLine(taxonomyFamily);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment