패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.1.2

curl_parser

cURL 명령을 Dart 객체로 파싱하고 Dart 객체를 cURL 명령으로 변환합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1.6천
좋아요
2
Pub 점수
150

패키지 설치

flutter pub add curl_parser

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

curl_parser 패키지는 cURL 명령어와 Dart 객체 간의 원활한 변환을 가능하게 하여 cURL 구문을 구조화된 데이터로 분석하거나 그 반대도 쉽게 처리할 수 있도록 합니다. Android, iOS, Web, macOS, Windows, Linux 등 모든 주요 플랫폼을 지원합니다. API 요청 작업에 종사하는 개발자에게 이상적이며, cURL 명령어를 사용 가능한 Dart 표현으로 변환함으로써 디버깅, 테스트 및 코드 생성을 간소화합니다. HTTP 요청 조작 또는 API 문서 시스템과의 통합을 다루는 도구에서 특히 유용합니다.

사용 사례

  • 프로그래밍 사용을 위해 cURL 명령을 Dart 객체로 변환하기
  • Dart HTTP 요청에서 cURL 명령 생성
  • 분석된 cURL 구문을 검사하여 API 호출 디버깅하기
  • API 문서 도구와의 통합
  • HTTP 요청 테스트 워크플로 자동화

주요 기능

  • cURL 명령을 구조화된 Dart 객체로 파싱하기
  • Dart HTTP 객체를 cURL 형식으로 다시 변환
  • 모든 주요 플랫폼을 지원합니다
  • 헤더, 메서드 및 본문 콘텐츠의 정확한 처리
  • 경량이며 통합이 쉬움

적합한 대상

  • API 개발 도구
  • 테스트 프레임워크
  • 코드 생성 유틸리티
  • 개발자 CLI 도구
  • 문서 통합

고려 사항

  • 성공적인 구문 분석을 위해서는 유효한 cURL 문법이 필요합니다
  • 기본 cURL 기능만 사용 가능 (SSL 설정과 같은 고급 옵션 없음)
  • 런타임 HTTP 실행을 위한 것이 아님
  • 정적 분석 또는 변환 작업에 가장 적합
  • 올바른 입력 형식에 따라 달라집니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

API Dash ⚡️

Discord Server Invite
foss42%2Fapidash | Trendshift     GSoC

GSoC 2026 Link
List of Ideas Link
Application Guide Link
Weekly Connect Meeting for GSoC Participants Link
Discord Channel Link
Please support this initiative by giving this project a Star ⭐️

API Dash is a beautiful AI powered open-source cross-platform API Client that can help you easily create & customize your API requests, visually inspect responses (full list of supported mime-types) and generate API integration code (full list) on the go.

API Dash

Download

API Dash can be downloaded from the links below:

OS Distribution CPU/Architecture Download Link
iOS/iPad App Store Link
macOS .dmg Apple Silicon & Intel Link (Dev)
Windows .exe 64-bit Link (Dev)
Linux .deb amd64 Link (Dev)
arm64 Link (Dev)
.rpm x86_64 Link (Dev)
aarch64 Link (Dev)
PKGBUILD (Arch Linux) x86_64 Link (Dev)

List of Features

API Type Supported
HTTP ✅
GraphQL ✅
SSE/Streaming ✅
AI ✅
WebSocket https://github.com/foss42/apidash/issues/15
MQTT https://github.com/foss42/apidash/issues/115
gRPC https://github.com/foss42/apidash/issues/14
Import Collection From Supported
Postman ✅
cURL ✅
Insomnia ✅
OpenAPI ✅
hurl https://github.com/foss42/apidash/issues/123
HAR ✅

❤️ Supported by

testmu-ai-logo

↗️ Create & Customize API Requests

  • Create different types of HTTP requests (GET, HEAD, POST, PATCH, PUT and DELETE).
  • Easily manipulate and play around with request inputs like headers, query parameters and body.
  • Full support to send text content with 🥳 Unicode/Emoji and preview any API response containing Unicode/Emoji.
  • Create GraphQL requests with headers and query.

💼 Organize Requests in Collections & Folders

  • Create collections and folders to organize your requests.
  • Press and Drag to Re-arrange requests.
  • Click and open popup menu to rename, duplicate and delete a request.

🔎 Visually Preview and Download Data & Multimedia API Responses

  • Inspect the API Response (HTTP status code, error message, headers, body, time taken).
  • View formatted code previews for responses of various content types like JSON, XML, YAML, HTML, SQL, etc.
  • API Dash helps explore, test & preview Multimedia API responses which is not supported by any other API client. You can directly test APIs that return images, PDF, audio & more. Check out the full list of supported MIME types/formats here.
  • Save 💾 response body of any mimetype (image, text, etc.) directly in the Downloads folder of your system by clicking on the Download button.

👩🏻‍💻 Code Generation

  • We started out as the only open source API client which supported advanced Dart code generation to easily integrate APIs in Dart/Flutter projects or to directly run it on DartPad. With time we have added more code-gens and currently API Dash supports generation of well-tested integration codes for JavaScript, Python, Kotlin & various other languages. You can check out the full list of supported languages/libraries.

🌙 Full Dark Mode Support

  • Easily switch between light mode and dark mode.

💾 Data

  • Data is persisted locally on the disk. To save the current snapshot, just press the Save button in the collection pane.
  • Click and open the collection/folder popup menu to export it as HAR. This can be version controlled & can be directly imported in other API Clients like Postman, Paw, etc.
  • Export your entire data into a HAR (HTTP Archive) file. To access this option goto Settings > Export Data.

⚙️ Settings & Other Options

  • Customize various options using a dedicated Settings screen.
  • Window Configuration (Size & Position) is persisted and restored on app start. (Only macOS & Windows)

AI Requests

API Dash lets you test AI APIs of various providers (or your own).

aireq1

DashBot

Dashbot is the AI assistant available in API Dash (powered by local or cloud LLM) so that you can interact with your requests to debug it, generate code, generate doc, and many more.

dashbot_tab

Code Generators

API Dash currently supports API integration code generation for the following languages/libraries.

Language Library
cURL
HAR
C libcurl
C# HttpClient
C# RestSharp
Dart http
Dart dio
Go net/http
JavaScript axios
JavaScript fetch
JavaScript (node.js) axios
JavaScript (node.js) fetch
Java asynchttpclient
Java HttpClient
Java okhttp3
Java Unirest
Julia HTTP
Kotlin okhttp3
PHP curl
PHP guzzle
PHP HTTPlug
Python requests
Python http.client
Ruby faraday
Ruby net/http
Rust hyper
Rust reqwest
Rust ureq
Rust Actix Client
Swift Alamofire
Swift URLSession

Code for any other langauge can be easily generated via DashBot.

MIME Types supported by API Dash Response Previewer

API Dash is a next-gen API client that supports exploring, testing & previewing various data & multimedia API responses which is limited/not supported by other API clients. You can directly test APIs that return images, PDF, audio & more.

Here is the complete list of MIME types that can be directly previewed in API Dash:

File Type Mimetype Extension Comment
PDF application/pdf .pdf
Video video/mp4 .mp4
Video video/webm .webm
Video video/x-ms-wmv .wmv
Video video/x-ms-asf .wmv
Video video/avi .avi
Video video/msvideo .avi
Video video/x-msvideo .avi
Video video/quicktime .mov
Video video/x-quicktime .mov
Video video/x-matroska .mkv
Image image/apng .apng Animated
Image image/avif .avif
Image image/bmp .bmp
Image image/gif .gif Animated
Image image/jpeg .jpeg or .jpg
Image image/jp2 .jp2
Image image/jpx .jpf or .jpx
Image image/pict .pct
Image image/portable-anymap .pnm
Image image/png .png
Image image/sgi .sgi
Image image/svg+xml .svg
Image image/tiff .tiff
Image image/targa .tga
Image image/vnd.wap.wbmp .wbmp
Image image/webp .webp
Image image/xwindowdump .xwd
Image image/x-icon .ico
Image image/x-portable-anymap .pnm
Image image/x-portable-bitmap .pbm
Image image/x-portable-graymap .pgm
Image image/x-portable-pixmap .ppm
Image image/x-tga .tga
Image image/x-xwindowdump .xwd
Audio audio/flac .flac
Audio audio/mpeg .mp3
Audio audio/mp4 .m4a or .mp4a
Audio audio/x-m4a .m4a
Audio audio/wav .wav
Audio audio/wave .wav
CSV text/csv .csv Can be improved

We welcome PRs to add support for previewing other multimedia MIME types. Please go ahead and raise an issue so that we can discuss the approach. We are adding support for other MIME types with each release. But, if you are looking for any particular mimetype support, please go ahead and open an issue. We will prioritize it's addition.

Here is the complete list of MIME types that are syntax highlighted in API Dash:

Mimetype Extension Comment
application/json .json Other MIME types like application/geo+json, application/vcard+json that are based on json are also supported.
application/xml .xml Other MIME types like application/xhtml+xml, application/vcard+xml that are based on xml are also supported.
text/xml .xml
application/yaml .yaml Others - application/x-yaml or application/x-yml
text/yaml .yaml Others - text/yml
application/sql .sql
text/css .css
text/html .html Only syntax highlighting, no web preview.
text/javascript .js
text/markdown .md

What's new in v0.5.0?

Visit CHANGELOG.md

Provide Feedback, Report Bugs & Request New Features

Just click on the Issue tab to raise a new issue in this repo.

Roadmap

Please find the Roadmap for API Dash here.

Documentation (User Guide & Developer Guide)

All docs are currently available in the doc folder.

Resources for New Contributors

  • Developer Guide - Read
  • Code Walkthrough - Video

Contribute to API Dash

You can contribute to API Dash in any or all of the following ways:

Need Any Help?

In case you need any help with API Dash or are encountering any issue while running the tool, please feel free to drop by our Discord server and we can have a chat in the #gsoc-foss-apidash channel.

카테고리

의존성

의존성 목록 4 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.