Skip to content
/ asfgo Public

Controlling ASF by calling the ASF API. 通过调用 ASF API 来控制 ASF。

Notifications You must be signed in to change notification settings

Helzoph/asfgo

Repository files navigation

ASFGo

English

通过调用 ASF API 来控制 ASF

Usage

使用之前请确保 ASF 已开启 IPC

go get github.com/helzoph/asfgo

Example

AddLicense

package main

import "github.com/helzoph/asfgo"

func main() {
	asf := asfgo.NewASF("127.0.0.1:1242", "")
	resp, err := asf.AppIDs([]string{"230410"}).AddLicense()
	if err != nil {
		panic(err)
	}

	if !resp.Success {
		panic(resp.Message)
	}
}

TODO

About

Controlling ASF by calling the ASF API. 通过调用 ASF API 来控制 ASF。

Topics

Resources

Stars

Watchers

Forks

Languages