mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-12 10:55:11 +00:00
565 B
Executable File
565 B
Executable File
Space
An m3o.com API. For example usage see m3o.com/Space/api.
Endpoints:
Vote
Vote to have the Space api launched faster!
https://m3o.com/space/api#Vote
package example
import(
"fmt"
"os"
"go.m3o.com/space"
)
// Vote to have the Space api launched faster!
func VoteForTheApi() {
spaceService := space.NewSpaceService(os.Getenv("M3O_API_TOKEN"))
rsp, err := spaceService.Vote(&space.VoteRequest{
Message: "Launch it!",
})
fmt.Println(rsp, err)
}