api_caller 2.0.0 copy "api_caller: ^2.0.0" to clipboard
api_caller: ^2.0.0 copied to clipboard

A flexible API helper built on Dio with support for singleton usage, dynamic base URL override, per-request bearer token, JSON & FormData requests, and typed responses.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add api_caller

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

dependencies:
  api_caller: ^2.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:api_caller/api_helper.dart';
import 'package:api_caller/models/api_helper_path_item.dart';
import 'package:api_caller/models/api_helper_request_type.dart';
1
likes
40
points
148
downloads
screenshot

Publisher

verified publisherinfyrise.com

Weekly Downloads

A flexible API helper built on Dio with support for singleton usage, dynamic base URL override, per-request bearer token, JSON & FormData requests, and typed responses.

Homepage
Repository (GitHub)
View/report issues

Topics

#api #dio #http #network #dart

License

MIT (license)

Dependencies

custom_response, dio

More

Packages that depend on api_caller