Files
m3o-go/examples/space
2021-11-26 12:38:58 +00:00
..
2021-11-26 12:38:58 +00:00

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)
	
}