Skip to content
k8scatPublic

About

纷享销客开放平台 Go SDK

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Fxiaoke OpenAPI SDK

Unofficial Go SDK for the fxiaoke.com OpenAPI

Install

go get -u github.com/k8scat/fxiaoke

Quick start

package main

import (
    "fmt"

    "github.com/k8scat/fxiaoke"
)

func main() {
    appID := ""
    appSecret := ""
    permanentCode := ""
    userID := ""
    corpID := ""
    client, err := fxiaoke.NewClient(appID, appSecret, permanentCode, userID, corpID)
    if err != nil {
        panic(err)
    }

    user, err := client.GetUserByOpenID(userID)
    if err != nil {
        panic(err)
    }
    fmt.Printf("%+v", user)
}

About

纷享销客开放平台 Go SDK

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages