Publish SDK from standalone repository

This commit is contained in:
AS213905 Engineering
2026-08-14 11:23:25 +00:00
parent 3beb0561c0
commit 8c17dafc1f
13 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo. # This file is automatically @generated by Cargo.
# It is not intended for manual editing. # It is not intended for manual editing.
version = 4 version = 3
[[package]] [[package]]
name = "as213905-sdk" name = "as213905-sdk"
+3
View File
@@ -0,0 +1,3 @@
[workspace]
members = ["rust"]
resolver = "2"
+2 -2
View File
@@ -10,9 +10,9 @@ in **Panel → Settings → API keys** and are always scoped to one organisation
| Language | Package | Install | | Language | Package | Install |
| --- | --- | --- | | --- | --- | --- |
| Go | `as213905` | `go get git.datacoria.com/Phylex/production-as213905/as213905-sdk/go` | | Go | `as213905` | `go get git.datacoria.com/Phylex/as213905-sdk/go` |
| Rust | `as213905-sdk` | Git dependency shown in `rust/README.md` | | Rust | `as213905-sdk` | Git dependency shown in `rust/README.md` |
| Python | `as213905` | Git dependency shown in `python/README.md` | | Python | `as213905` | `pip install "as213905 @ git+https://git.datacoria.com/Phylex/as213905-sdk.git#subdirectory=python"` |
| JavaScript | `@as213905/sdk` | Git checkout instructions in `javascript/README.md` | | JavaScript | `@as213905/sdk` | Git checkout instructions in `javascript/README.md` |
All clients use `https://as213905.com` by default and accept a different base All clients use `https://as213905.com` by default and accept a different base
+1 -1
View File
@@ -1,7 +1,7 @@
# Go SDK # Go SDK
```bash ```bash
go get git.datacoria.com/Phylex/production-as213905/as213905-sdk/go go get git.datacoria.com/Phylex/as213905-sdk/go
``` ```
```go ```go
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"log" "log"
"os" "os"
as213905 "git.datacoria.com/Phylex/production-as213905/as213905-sdk/go/as213905" as213905 "git.datacoria.com/Phylex/as213905-sdk/go/as213905"
) )
func main() { func main() {
+1 -1
View File
@@ -1,3 +1,3 @@
module git.datacoria.com/Phylex/production-as213905/as213905-sdk/go module git.datacoria.com/Phylex/as213905-sdk/go
go 1.22 go 1.22
+2 -2
View File
@@ -1,8 +1,8 @@
# JavaScript / TypeScript SDK # JavaScript / TypeScript SDK
```bash ```bash
git clone --branch recovery/native-geofeeds-20260814 https://git.datacoria.com/Phylex/production-as213905.git git clone https://git.datacoria.com/Phylex/as213905-sdk.git
npm install ./production-as213905/as213905-sdk/javascript npm install ./as213905-sdk/javascript
``` ```
```js ```js
+1 -1
View File
@@ -10,5 +10,5 @@
"scripts": {"test": "node --test", "check": "node --check src/index.js"}, "scripts": {"test": "node --test", "check": "node --check src/index.js"},
"engines": {"node": ">=18"}, "engines": {"node": ">=18"},
"license": "MIT", "license": "MIT",
"repository": {"type": "git", "url": "https://git.datacoria.com/Phylex/production-as213905.git", "directory": "as213905-sdk/javascript"} "repository": {"type": "git", "url": "https://git.datacoria.com/Phylex/as213905-sdk.git", "directory": "javascript"}
} }
+1 -1
View File
@@ -11,7 +11,7 @@ info:
url: https://as213905.com/docs/api url: https://as213905.com/docs/api
license: license:
name: Proprietary API; SDKs licensed under MIT name: Proprietary API; SDKs licensed under MIT
url: https://git.datacoria.com/Phylex/production-as213905/src/branch/recovery/native-geofeeds-20260814/as213905-sdk/LICENSE url: https://git.datacoria.com/Phylex/as213905-sdk/src/branch/main/LICENSE
servers: servers:
- url: https://as213905.com - url: https://as213905.com
tags: tags:
+1 -1
View File
@@ -1,7 +1,7 @@
# Python SDK # Python SDK
```bash ```bash
pip install "as213905 @ git+https://git.datacoria.com/Phylex/production-as213905.git@recovery/native-geofeeds-20260814#subdirectory=as213905-sdk/python" pip install "as213905 @ git+https://git.datacoria.com/Phylex/as213905-sdk.git#subdirectory=python"
``` ```
```python ```python
+1 -1
View File
@@ -14,7 +14,7 @@ keywords = ["as213905", "bgp", "transit", "geofeed"]
[project.urls] [project.urls]
Documentation = "https://as213905.com/docs/api/reference" Documentation = "https://as213905.com/docs/api/reference"
Repository = "https://git.datacoria.com/Phylex/production-as213905/src/branch/recovery/native-geofeeds-20260814/as213905-sdk/python" Repository = "https://git.datacoria.com/Phylex/as213905-sdk/src/branch/main/python"
[tool.pytest.ini_options] [tool.pytest.ini_options]
testpaths = ["tests"] testpaths = ["tests"]
+1 -1
View File
@@ -4,7 +4,7 @@ version = "1.1.0"
edition = "2021" edition = "2021"
license = "MIT" license = "MIT"
description = "Official AS213905 customer API client" description = "Official AS213905 customer API client"
repository = "https://git.datacoria.com/Phylex/production-as213905" repository = "https://git.datacoria.com/Phylex/as213905-sdk"
[dependencies] [dependencies]
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
+1 -1
View File
@@ -2,7 +2,7 @@
```toml ```toml
[dependencies] [dependencies]
as213905-sdk = { git = "https://git.datacoria.com/Phylex/production-as213905.git", branch = "recovery/native-geofeeds-20260814" } as213905-sdk = { git = "https://git.datacoria.com/Phylex/as213905-sdk.git" }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] } tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
``` ```