Skip to content

Latest commit

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Api library for Market Steam on Go (golang).

Installation

To install marketapi, simply run:

$ go get github.com/soluchok/marketapi

Example

package main
import (
"fmt""github.com/soluchok/marketapi"
)
funcmain() {
dota, err:=marketapi.NewDota2API("O3HJPmn98Q3Gkf0ujED3ZH479w625Zy")
iferr!=nil {
fmt.Println(err)
}
resp, err:=dota.PingPong()
iferr!=nil {
fmt.Println(err)
}
fmt.Println(resp.Success)
fmt.Println(resp.Ping)
}
// {"success":true,"ping":"pong"}// true// pong

About

Api library for Market Steam on Go (golang).

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages