获取可同步渠道
curl --request GET \
--url https://api.lmm.best/api/ratio_sync/channelsimport requests
url = "https://api.lmm.best/api/ratio_sync/channels"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.lmm.best/api/ratio_sync/channels', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lmm.best/api/ratio_sync/channels"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}系统设置
获取可同步渠道
👑 需要超级管理员权限(Root)
GET
/
api
/
ratio_sync
/
channels
获取可同步渠道
curl --request GET \
--url https://api.lmm.best/api/ratio_sync/channelsimport requests
url = "https://api.lmm.best/api/ratio_sync/channels"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.lmm.best/api/ratio_sync/channels', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lmm.best/api/ratio_sync/channels"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}响应
200
成功
最后修改于 2026年9月23日
⌘I