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 |
|
||||
| --- | --- | --- |
|
||||
| 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` |
|
||||
| Python | `as213905` | `pip install "as213905 @ git+https://git.datacoria.com/Phylex/as213905-sdk.git#subdirectory=python"` |
|
||||
| JavaScript | `@as213905/sdk` | `npm install git+https://git.datacoria.com/Phylex/as213905-sdk.git#javascript` |
|
||||
| Python | `as213905` | Git dependency shown in `python/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
|
||||
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
|
||||
|
||||
```bash
|
||||
go get git.datacoria.com/Phylex/as213905-sdk/go
|
||||
go get git.datacoria.com/Phylex/production-as213905/as213905-sdk/go
|
||||
```
|
||||
|
||||
```go
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
as213905 "git.datacoria.com/Phylex/as213905-sdk/go/as213905"
|
||||
as213905 "git.datacoria.com/Phylex/production-as213905/as213905-sdk/go/as213905"
|
||||
)
|
||||
|
||||
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
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# JavaScript / TypeScript SDK
|
||||
|
||||
```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
|
||||
|
||||
@@ -10,5 +10,5 @@
|
||||
"scripts": {"test": "node --test", "check": "node --check src/index.js"},
|
||||
"engines": {"node": ">=18"},
|
||||
"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
|
||||
license:
|
||||
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:
|
||||
- url: https://as213905.com
|
||||
tags:
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
# Python SDK
|
||||
|
||||
```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
|
||||
|
||||
@@ -14,7 +14,7 @@ keywords = ["as213905", "bgp", "transit", "geofeed"]
|
||||
|
||||
[project.urls]
|
||||
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]
|
||||
testpaths = ["tests"]
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ version = "1.1.0"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
description = "Official AS213905 customer API client"
|
||||
repository = "https://git.datacoria.com/Phylex/as213905-sdk"
|
||||
repository = "https://git.datacoria.com/Phylex/production-as213905"
|
||||
|
||||
[dependencies]
|
||||
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
```toml
|
||||
[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"] }
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user