openrouter_dart 1.0.11 copy "openrouter_dart: ^1.0.11" to clipboard
openrouter_dart: ^1.0.11 copied to clipboard

A Dart client for OpenRouter API. Supports Chat, Streaming, Tools, Vision, Embeddings, and Reranking.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add openrouter_dart

With Flutter:

 $ flutter pub add openrouter_dart

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  openrouter_dart: ^1.0.11

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:openrouter_dart/openrouter_dart.dart';
0
likes
135
points
120
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart client for OpenRouter API. Supports Chat, Streaming, Tools, Vision, Embeddings, and Reranking.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dio, path

More

Packages that depend on openrouter_dart