Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 905 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 905 Bytes

F1 Game Telemetry Client in Go Made With Go

Telemetry client for F1 Game, written in Go. Currently, supported only the UDP 2020 format.

f1-telemetry-client

Features

  • Event System
  • Rich Env Constants
  • UDP Stats (recv, err and packet per second rate),
  • Vector3 support

Install

go get -u github.com/anilmisirlioglu/f1-telemetry-go

Quick Start

func main() {
  client, err := telemetry.NewClient()
  if err != nil {
	log.Fatal(err)
  }

  client.OnEventPacket(func(packet *packets.PacketEventData) {
  	fmt.Printf("Code: %s\n", packet.EventCodeString())
  })

  client.Run()
}

Docs

If you need more information on the F1 UDP specifications, see the docs.