openrouter_sdk 0.0.1 copy "openrouter_sdk: ^0.0.1" to clipboard
openrouter_sdk: ^0.0.1 copied to clipboard

type safe way of interacting with openrouter api

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add openrouter_sdk

With Flutter:

 $ flutter pub add openrouter_sdk

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

dependencies:
  openrouter_sdk: ^0.0.1

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_sdk/openrouter_sdk.dart';
1
likes
150
points
95
downloads

Documentation

API reference

Publisher

verified publisherhani.day

Weekly Downloads

type safe way of interacting with openrouter api

Repository (GitLab)
View/report issues

License

MIT (license)

Dependencies

dartx, dio, path

More

Packages that depend on openrouter_sdk