Point installation guides at published source tree
This commit is contained in:
@@ -10,10 +10,10 @@ 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/as213905-sdk/go` |
|
| Go | `as213905` | `go get git.datacoria.com/Phylex/production-as213905/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` | `pip install "as213905 @ git+https://git.datacoria.com/Phylex/as213905-sdk.git#subdirectory=python"` |
|
| Python | `as213905` | Git dependency shown in `python/README.md` |
|
||||||
| JavaScript | `@as213905/sdk` | `npm install git+https://git.datacoria.com/Phylex/as213905-sdk.git#javascript` |
|
| 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
|
||||||
URL for tests. Never put an API key in a query string or commit it to source.
|
URL for tests. Never put an API key in a query string or commit it to source.
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# Go SDK
|
# Go SDK
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get git.datacoria.com/Phylex/as213905-sdk/go
|
go get git.datacoria.com/Phylex/production-as213905/as213905-sdk/go
|
||||||
```
|
```
|
||||||
|
|
||||||
```go
|
```go
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
as213905 "git.datacoria.com/Phylex/as213905-sdk/go/as213905"
|
as213905 "git.datacoria.com/Phylex/production-as213905/as213905-sdk/go/as213905"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
module git.datacoria.com/Phylex/as213905-sdk/go
|
module git.datacoria.com/Phylex/production-as213905/as213905-sdk/go
|
||||||
|
|
||||||
go 1.22
|
go 1.22
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
# JavaScript / TypeScript SDK
|
# JavaScript / TypeScript SDK
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install git+https://git.datacoria.com/Phylex/as213905-sdk.git#javascript
|
git clone --branch recovery/native-geofeeds-20260814 https://git.datacoria.com/Phylex/production-as213905.git
|
||||||
|
npm install ./production-as213905/as213905-sdk/javascript
|
||||||
```
|
```
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|||||||
@@ -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/as213905-sdk.git", "directory": "javascript"}
|
"repository": {"type": "git", "url": "https://git.datacoria.com/Phylex/production-as213905.git", "directory": "as213905-sdk/javascript"}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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/as213905-sdk/src/branch/main/LICENSE
|
url: https://git.datacoria.com/Phylex/production-as213905/src/branch/recovery/native-geofeeds-20260814/as213905-sdk/LICENSE
|
||||||
servers:
|
servers:
|
||||||
- url: https://as213905.com
|
- url: https://as213905.com
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# Python SDK
|
# Python SDK
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install "as213905 @ git+https://git.datacoria.com/Phylex/as213905-sdk.git#subdirectory=python"
|
pip install "as213905 @ git+https://git.datacoria.com/Phylex/production-as213905.git@recovery/native-geofeeds-20260814#subdirectory=as213905-sdk/python"
|
||||||
```
|
```
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|||||||
@@ -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/as213905-sdk"
|
Repository = "https://git.datacoria.com/Phylex/production-as213905/src/branch/recovery/native-geofeeds-20260814/as213905-sdk/python"
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
|||||||
+1
-1
@@ -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/as213905-sdk"
|
repository = "https://git.datacoria.com/Phylex/production-as213905"
|
||||||
|
|
||||||
[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
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
as213905-sdk = { git = "https://git.datacoria.com/Phylex/as213905-sdk.git" }
|
as213905-sdk = { git = "https://git.datacoria.com/Phylex/production-as213905.git", branch = "recovery/native-geofeeds-20260814" }
|
||||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user