module
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Aug 31, 2021
License: MIT
Opens a new window with license information.
README
¶
alibabaopen
Use Demo
package main
import (
"fmt"
"github.com/cnbattle/alibaba/open"
)
func main() {
client := &open.Client{
AppKey: "4790000",
AppSecret: "xxxxx",
AccessToken: "xxxxxxxx-eb92-4b15-857c-f0e89f5c7684",
}
params := make(map[string]string)
params["page"] = "1"
params["pageSize"] = "10"
var uri = "com.alibaba.p4p:alibaba.cps.op.searchCybOffers-1"
do, err := client.Do(uri, params)
if err != nil {
panic(err)
}
fmt.Println(string(do))
}
Directories
¶
Click to show internal directories.
Click to hide internal directories.