alibaba

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2021 License: MIT

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

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL