Kiota builds the code wanted to work along with your API, and you can begin to incorporate it in your software. You’ll need to import the generated namespace, authorize the connection, and create a consumer object primarily based 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 assist for normal HTTP actions so you may get and submit knowledge from the API.
Select your language
Should you’re utilizing one other language, comparable to Python, the method is comparable. With Python, nevertheless, there isn’t a bundle of stipulations and dependencies, so it’s essential use pip to put in the suitable Kiota libraries. The method of constructing and utilizing a Kiota consumer is way the identical as for .NET, importing lessons as obligatory and utilizing them asynchronously.
The Kiota expertise stays the identical for every supported language: First, load dependencies into your challenge, construct the consumer from an OpenAPI definition, after which import and use the generated consumer lessons. When you’ve outlined the imports you’re utilizing, you may refresh the consumer with out affecting your software code—until there’s an up to date model of the API you’re calling.