easy_api_sl 0.1.5 copy "easy_api_sl: ^0.1.5" to clipboard
easy_api_sl: ^0.1.5 copied to clipboard

A Flutter package that makes API calls easy and maintainable with built-in token management, error handling, and logging.

example/README.md

Easy API Example #

This example demonstrates how to use the easy_api_sl package to make HTTP requests in a Flutter application.

Features #

  • GET request example
  • POST request example
  • PUT request example
  • PATCH request example
  • DELETE request example
  • Error handling
  • Loading states
  • Response display

Getting Started #

  1. Run the example:
flutter run
  1. The example uses JSONPlaceholder as a test API.

  2. Try different HTTP methods using the buttons in the app.

Code Structure #

  • main.dart: Entry point of the application
  • pubspec.yaml: Dependencies configuration

Screenshots #

The app provides a simple interface with:

  • Buttons for different HTTP methods
  • Loading indicator
  • Response display area
  • Error handling

Learn More #

For more information about the easy_api_sl package, visit:

4
likes
160
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that makes API calls easy and maintainable with built-in token management, error handling, and logging.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

dio, flutter, shared_preferences

More

Packages that depend on easy_api_sl