API Studio
Build β’ Debug β’ Monitor β’ Analyze APIs from a Single Toolkit
π Overview
API Studio is a modern networking toolkit built exclusively for Flutter developers.
It combines networking, debugging, monitoring, request inspection, connectivity tracking, and developer utilities into one clean and easy-to-use package.
Whether you're building a personal project or a production application, API Studio provides everything needed to understand, debug, and manage your application's network layer.
β¨ Why API Studio?
Modern applications require much more than simply sending HTTP requests.
API Studio provides an integrated developer experience that allows you to:
- π Send network requests
- π‘ Automatically inspect every request
- π Monitor API traffic
- π± View beautiful request details
- π Track internet connectivity
- π Monitor failed requests in real time
- π Generate cURL commands instantly
- π€ Export request history
- β‘ Edit and retry requests
- π Analyze request performance
Everything works together with minimal setup.
π Networking
- Built-in HTTP Client
- GET
- POST
- PUT
- PATCH
- DELETE
- Multipart Upload
- File Download
- Custom Headers
- Query Parameters
- Authorization Support
- Request Timeout
- Retry Requests
- Base URL Configuration
π‘ Automatic API Interceptor
Every request is captured automatically.
Captured information includes:
- URL
- Method
- Headers
- Request Body
- Query Parameters
- Response
- Status Code
- Response Time
- Error Details
- Stack Trace
No additional configuration required.
π± API Inspector
Professional API debugging interface with:
- Search Requests
- Filter by Method
- Filter by Status
- Request Details
- Response Viewer
- Error Viewer
- JSON Formatter
- Copy Request
- Delete Logs
- Edit & Retry
- Generate cURL
π Internet Monitoring
Monitor application connectivity in real time.
Features include:
- Current Internet Status
- Internet Status Stream
- Connectivity Listener
- Live Updates
π Live Streams
Built-in streams for:
- Internet Connectivity
- Failed API Count
- Request Updates
Perfect for dashboards and debugging.
π cURL Generator
Generate production-ready cURL commands with one click.
Useful for:
- Backend Teams
- QA Testing
- API Sharing
- Terminal Testing
π€ Export Logs
Export request history as:
- JSON
β‘ Edit & Retry
Modify intercepted requests directly from the inspector.
Update:
- Headers
- Query Parameters
- Request Body
Retry instantly without changing application code.
πΈ Screenshots
π¦ Installation
Add the package to your project.
dependencies:
api_studio: ^0.1.1
Install packages.
flutter pub get
π Quick Start
Initialize API Studio.
await ApiStudio.initialize();
π HTTP Client
Create a client.
final client = ApiStudioClient();
GET Request
final response = await client.get("/posts");
POST Request
await client.post(
"/login",
data: {
"email": "john@example.com",
"password": "123456",
},
);
PUT Request
await client.put("/users/1");
DELETE Request
await client.delete("/users/1");
Every request is automatically available inside the API Inspector.
π± Open API Inspector
ApiInspector.show(context);
Inspect every request in real time.
π Internet Connectivity
Current connectivity status.
ApiStudio.internetStatus
Listen continuously.
ApiStudio.internetStream.listen((status) {
});
π Failed API Stream
ApiStudio.failedApiCountStream.listen((count) {
});
Perfect for dashboards and monitoring widgets.
β Supported HTTP Methods
- GET
- POST
- PUT
- PATCH
- DELETE
- HEAD
- OPTIONS
π― Features
- Built-in HTTP Client
- Automatic API Interceptor
- API Inspector UI
- Request & Response Viewer
- Error Viewer
- JSON Formatter
- Edit & Retry
- cURL Generator
- Internet Monitoring
- Live Internet Stream
- Failed API Stream
- Export Logs
π License
MIT License
Made with β€οΈ for the Flutter Community