Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanstapel committed Sep 5, 2023
1 parent 0d51ec6 commit 120288e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions BrickOwlSharp.Demos/CatalogDemo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,17 @@ internal void Run()
{
IBrickOwlClient client = BrickOwlClientFactory.Build();

// lookup a single design id
Task<List<string>> boids = client.CatalogIdLookupAsync("3005", ItemType.Part, IdType.DesignId); // brick 1x1
boids.Wait();

// retrieve item availability
Task<Dictionary<string, CatalogItemAvailability>> availability = client.CatalogAvailabilityAsync("737117-39", "DE");
availability.Wait();


// retrieve a single catalog item
Task<CatalogItem> item = client.CatalogLookupAsync("737117-39");
item.Wait();

item.Wait();

// retrieve the entire catalog
Task<List<CatalogItem>> catalog = client.GetCatalogAsync();
Expand Down

0 comments on commit 120288e

Please sign in to comment.