A Tool Built for Developers by Developers
We are thrilled to announce that Kiota now supports Dart, and this milestone is special as it marks the first language added to Kiota that was entirely driven by the community. This new feature is available in public preview, and we could not be more excited to share it with you!
A Heartfelt Thanks to the Community
We would like to extend our deepest gratitude to the community members who contributed to adding Dart support to Kiota, Kees-Schotanus, Joanne ter Maat, Ricardo Boss, Andrea Peruffo and Emond Papegaaij. Your dedication and hard work have made this achievement possible, and we are incredibly grateful for your efforts.
We look forward to more community-driven innovations in the future. Keep them coming!
What is Kiota?
Kiota automates the creation of both API plugins for declarative agents in Microsoft 365 Copilot and API client libraries and revolutionizes the way developers consume APIs. Imagine effortlessly generating robust, type-safe client libraries for multiple programming languages, now including Dart! Kiota transforms complex API interactions into seamless, efficient processes, saving you time and reducing errors. The integration of Dart enables developers to build powerful API clients for their Dart applications with ease and precision.
Why Kiota?
Kiota automates the tedious process of writing API clients, allowing you to focus on building features and solving problems. By generating API clients tailored to your application with strong typing, Kiota improves performance, reduces runtime errors and makes your code more reliable. This customization not only streamlines the development process but also ensures that the generated client library is lean and efficient. The addition of Dart support showcases the power of community collaboration, ensuring that the tool evolves to meet developers’ needs while having Microsoft support to incorporate community contributions to the product.
Getting Started with Kiota and Dart
To get started with Kiota and Dart, follow these steps:
Step 1: Install Kiota
First, you need to install Kiota.
There are several ways to install Kiota depending on your preferred setup. You can run Kiota in a Docker container, as a .NET tool, and more. For comprehensive installation instructions, how to use Kiota, and additional information, please refer to the official documentation.
Step 2: Generate the API Client
Once Kiota is installed, you can generate an API client by providing your OpenAPI description file.
Open the Kiota extension by clicking on the Kiota icon in the Active Bar on the side and add an API description.
Follow the steps in the extension to search for a public API in Kiota’s Catalog or provide a path to a local or remote OpenAPI description, select all desired paths and click on Generate.
Provide all the following required information and in the end, choose the Dart language.
For information on how to use the CLI and more detailed documentation, please refer to the build API clients for Dart.
Step 3: Using the Generated API Client
After generating the API client, you can use it in your Dart application. Here is an example of how to call your API using API Key:
Next Steps
Try out the new version today!  
We are excited about the new Dart support in Kiota. Please try it out and share your feedback with us. Your insights and suggestions are invaluable for improving Kiota Dart support. Happy coding!
OAuth authentication provider
Implementing OAuth will ensure that one’s application can securely and seamless call APIs that require user authentication. Once this is implemented, gathering feedback, and implementing improvements to ensure it meets users’ needs effectively are crucial.
Contribute to Kiota
Consider contributing to the Kiota project by reporting bugs, suggesting features, or even submitting pull requests. Contributions from the community will help make Kiota a more robust and inclusive tool for everyone. Encouraging continuous contributions, reviewing feedback, implementing changes, and fostering an active community involvement cycle are essential for the project’s ongoing success and improvement.
General Availability
As we move towards the General Availability (GA) release of Dart support in Kiota, continued usage and testing of the new features by the community are encouraged. Your feedback and support are crucial in refining and finalizing the Dart support for Kiota. Even after the GA release, it is important to continue gathering user feedback, making iterative improvements, and ensuring the support remains robust and effective.
0 comments
Be the first to start the discussion.