Kiota builds the code wanted to work together with your API, and you can begin to incorporate it in your software. You have to to import the generated namespace, authorize the connection, and create a shopper object based mostly on the category generated by Kiota. It’s all fairly easy actually, with calls to the API encapsulated in strategies within the Kiota-generated class, with help for normal HTTP actions so you may get and put up knowledge from the API.
Select your language
In the event you’re utilizing one other language, equivalent to Python, the method is analogous. With Python, nevertheless, there isn’t a bundle of stipulations and dependencies, so you must use pip to put in the suitable Kiota libraries. The method of constructing and utilizing a Kiota shopper is way the identical as for .NET, importing courses as vital and utilizing them asynchronously.
The Kiota expertise stays the identical for every supported language: First, load dependencies into your undertaking, construct the shopper from an OpenAPI definition, after which import and use the generated shopper courses. When you’ve outlined the imports you’re utilizing, you possibly can refresh the shopper with out affecting your software code—except there’s an up to date model of the API you’re calling.