players

package
v0.0.0-...-8bbd0fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PlayersURL = "https://api.collegefootballdata.com/roster"

Functions

func RetrieveAllPlayers

func RetrieveAllPlayers()

func RetrievePlayers

func RetrievePlayers(teamName string) int

Types

type Player

type Player struct {
	Id          string `json:"id"`
	FirstName   string `json:"first_name"`
	LastName    string `json:"last_name"`
	Weight      int64  `json:"weight"`
	Height      int64  `json:"height"`
	Jersey      int64  `json:"jersey"`
	Year        int64  `json:"year"`
	Position    string `json:"position"`
	HomeCity    string `json:"home_city"`
	HomeState   string `json:"home_state"`
	HomeCountry string `json:"home_country"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL