no_code_api_connector 0.0.3 copy "no_code_api_connector: ^0.0.3" to clipboard
no_code_api_connector: ^0.0.3 copied to clipboard

This package is designed to make API integration effortless — perfect for low-code/no-code workflows.

📦 no_code_api_connector #

Pub Version Issues

no_code_api_connector is a Flutter package that allows you to connect to REST APIs using a simple JSON-based configuration — no backend or manual HTTP logic needed. Perfect for developers who want to set up dynamic API integrations quickly and efficiently with minimal boilerplate.

🚀 Features #

  • 🌐 Easily connect to any REST API with a JSON config
  • 🧩 Supports GET, POST, PUT, DELETE, and more
  • 🔐 Built-in support for Bearer and Basic authentication
  • 🔄 Handles headers, query params, and body formats
  • 🧪 Developer-friendly and easy to debug
  • 🧰 Extensible and ready for production

🛠 Getting Started #

Prerequisites #

  • ✅ Flutter SDK ≥ 3.0.0
  • ✅ Dart ≥ 2.18.0
  • ✅ Internet permission (required for Android/iOS)

Installation #

Add the following to your pubspec.yaml:

dependencies:
  no_code_api_connector: 

Then run:

flutter pub get

📈 Usage #

Step 1: Import the package #

import 'package:no_code_api_connector/no_code_api_connector.dart';

Step 2: Create instance of ApiConfig and set parameters tha you want to include in all api requests #

final apiConfig = ApiConfig(baseUrl: 'https://api.escuelajs.co/api/v1');

Step 3: Create Instance of ApiConnector by passing instance of ApiConfig #

final connector = ApiConnector(apiConfig);

Step 4: Create instance of RequestConfig and set necessary parameters like method and endpoint(path) #

//Get Method
final requestConfig = RequestConfig(
  method: HttpMethod.get,
  path: '/products/16',
);

Step 4: Call an endpoint #

Map<String, dynamic> fetchedData = await connector.sendRequest(requestConfig);

You can find more advanced examples in the lib/example directory.


📁 Folder Structure #

lib/
├── no_code_api_connector.dart
src/
├── api_connector.dart
├── api_config.dart
├── auth_provider.dart
├── request_config.dart
├── response_handler.dart
example/
├── main.dart

📄 License #

This project is licensed under the MIT License.


🙌 Contributions #

Contributions, suggestions, and feedback are always welcome!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a Pull Request

📬 Contact #

For issues, reach out via the GitHub Issues page.


Made with ❤️ by [Dhruv Chotai]

12
likes
120
points
153
downloads

Publisher

unverified uploader

Weekly Downloads

This package is designed to make API integration effortless — perfect for low-code/no-code workflows.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on no_code_api_connector