Skip to content

LyricTian/cet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cet

四六级成绩查询,通过学信网提供的查询接口

License ReportCard GoDoc

下载并使用

$ go get -u github.com/LyricTian/cet
result, err := cet.Query(nil, "370150162100108", "张三")
if err != nil {
    panic(err)
}

fmt.Println("姓名:", result.Name)
fmt.Println("学校:", result.University)
fmt.Println("考试级别:", result.Level)
fmt.Println("笔试准考证号:", result.WrittenTicket)
fmt.Println("总分:", result.Score)
fmt.Println("听力:", result.Listening)
fmt.Println("阅读:", result.Reading)
fmt.Println("写作和翻译:", result.WritingTranslation)
fmt.Println("口试准考证号:", result.OralTicket)
fmt.Println("口试等级:", result.OralLevel)

使用命令行工具

$ go get github.com/LyricTian/cet/cmd/cet
$ cet -name '张三' -ticket '370150162100108'

MIT License

Copyright (c) 2016 LyricTian

About

Golang实现的四六级成绩查询

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages