Skip to content

fhyx/lark-api-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lark-api-go

Environment for config

LARK_CORP_ID=AppId
LARK_CORP_SECRET=AppSecret

LARK_TEST_UID='for unit test only'

Usage

import "fhyx.online/lark-api-go/lark"


api := NewAPI() // or New(appId, appSecret)

deptId := 0
recursive := false
data, err := api.ListDepartment(deptId, recursive)

uid := "yourUID"
at := "uid" // uid,mobile,cuid
user, err := api.GetUser(uid, at)

Links

TODO

  • Sync users
  • Sync department

About

Lark API client in go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages