Get Networks Graph
curl --request GET \
--url https://api.dkit.xyz/v1/networks-graphconst options = {method: 'GET'};
fetch('https://api.dkit.xyz/v1/networks-graph', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.dkit.xyz/v1/networks-graph"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dkit.xyz/v1/networks-graph"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dkit.xyz/v1/networks-graph")
.asString();val client = OkHttpClient()
val request = Request.Builder()
.url("https://api.dkit.xyz/v1/networks-graph")
.get()
.build()
val response = client.newCall(request).execute()import Foundation
let url = URL(string: "https://api.dkit.xyz/v1/networks-graph")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.timeoutInterval = 10
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self)){}Data Endpoints
Get Networks Graph
Returns supported networks and their connections
GET
/
v1
/
networks-graph
Get Networks Graph
curl --request GET \
--url https://api.dkit.xyz/v1/networks-graphconst options = {method: 'GET'};
fetch('https://api.dkit.xyz/v1/networks-graph', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.dkit.xyz/v1/networks-graph"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dkit.xyz/v1/networks-graph"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dkit.xyz/v1/networks-graph")
.asString();val client = OkHttpClient()
val request = Request.Builder()
.url("https://api.dkit.xyz/v1/networks-graph")
.get()
.build()
val response = client.newCall(request).execute()import Foundation
let url = URL(string: "https://api.dkit.xyz/v1/networks-graph")!
var request = URLRequest(url: url)
request.httpMethod = "GET"
request.timeoutInterval = 10
let (data, _) = try await URLSession.shared.data(for: request)
print(String(decoding: data, as: UTF8.self)){}Response
200 - application/json
Networks graph
⌘I