الأحصصة الرسمية
أحد عشر حزمة منشورة، جميعها بالإصدار 0.1.0، وكلها قابلة للتثبيت من سجل عام دون الوصول إلى المستودع الخاص.
The SDKs are generated from the same OpenAPI contract this documentation renders, so a method name and an endpoint cannot disagree. They are conveniences: every one of them calls the same public REST API you can call yourself with curl.
| SDK | Package | Runtime | Install |
|---|---|---|---|
| TypeScript / JavaScript | @bardiyamap/sdk | Node.js 18+ | npm install @bardiyamap/sdk@0.1.0 |
| React Native | @bardiyamap/react-native | React Native 0.88.x | npm install @bardiyamap/react-native@0.1.0 |
| Python | bardiyamap-sdk | Python 3.10+ | pip install bardiyamap-sdk |
| Dart | bardiyamap_sdk | Dart 3.4+ | dart pub add bardiyamap_sdk |
| Flutter | bardiyamap_flutter | Flutter 3.29+ | flutter pub add bardiyamap_flutter |
| .NET | Bardiya.Map | .NET 10 | dotnet add package Bardiya.Map |
| Java | com.bardiyamap:bardiya-map-java | Java 11+ | implementation("com.bardiyamap:bardiya-map-java:0.1.0") |
| Kotlin | com.bardiyamap:bardiya-map-kotlin | Kotlin 2.x / JVM 11+ | implementation("com.bardiyamap:bardiya-map-kotlin:0.1.0") |
| PHP | bardiyamap/sdk | PHP 8.1+ | composer require bardiyamap/sdk:^0.1.0 |
| Go | github.com/engmohamed05/bardiya-go | Go 1.24+ | go get github.com/engmohamed05/bardiya-go@v0.1.0 |
| Swift | BardiyaMap | Swift 6, iOS 15+ | .package(url: "https://github.com/EngMohamed05/bardiya-swift", from: "0.1.0") |
Choosing one
- A server in Node.js, Bun or Deno: @bardiyamap/sdk.
- A server in Python: bardiyamap-sdk. Import name is bardiya.
- A Flutter app that needs a map: bardiyamap_flutter, plus bardiyamap_sdk for the REST calls it does not wrap.
- A React Native app: @bardiyamap/react-native, with proxyBaseUrl pointing at your backend.
- A JVM backend: bardiya-map-kotlin if you write Kotlin, bardiya-map-java otherwise; Kotlin depends on Java.
- No SDK at all is a valid choice. The API is JSON over HTTPS and the reference is complete.
