modulepackage
2.4.13+incompatible
Repository: https://github.com/joelhill/mysportsfeeds-go.git
Documentation: pkg.go.dev
# README
mysportsfeeds-go
Go library to use MySportsFeeds API
Example Use
import (
msf "github.com/joelhill/mysportsfeeds-go"
)
authorization := "Basic asfafasdfasdfasdfasasdfsadfasdfsd"
config := msf.NewConfig(authorization)
client := msf.NewService(config)
options := client.NewSeasonalGamesOptions()
games, statusCode, err := client.SeasonalGames(options)
if err != nil {
log.Println("something went wrong")
}
# Packages
No description provided by the author
# Constants
CompressionHeaderGzip - type of compression header.
Date2019Season -.
DateToday -.
DateTomorrow -.
DateYesterday -.
FormatCSV - returns the format in csv.
FormatJSON - returns the format in json.
FormatXML - returns the format in xml.
URL - api url.
SeasonCurrent - current season.
SeasonLatest - latest season.
SeasonUpcoming - upcoming season.
SportMLB - baseball.
SportNBA - Basketball.
SportNFL - football.
SportNHL - Hockey.
StatusFinal - returns game is final and reviewed.
StatusInProgress - returns games currently underway.
StatusPostgameReviewing - returns game is over, but we're reviewing against official sources.
StatusUnplayed - returns games scheduled but not yet started.
VersionV1_1 - v1.1.
VersionV1_2 - v1.2.
VersionV2_0 - v2.0.
VersionV2_1 - v2.1.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config - holds your authorization.
No description provided by the author
No description provided by the author
No description provided by the author
CurrentSeasonOptions - Are the options to hit the current season endpoint.
DailyDfsOptions - Are the options to hit the daily DFS endpoint.
DailyGamesOptions - Are the options to hit the daily games endpoint.
DailyPlayerGamelogsOptions - Are the options to hit the daily player gamelogs endpoint.
DailyStandingsOptions - Are the options to hit the daily standings endpoint.
DailyTeamGamelogsOptions - Are the options to hit the daily team gamelogs endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FeedUpdatesOptions - Are the options to hit the feed updates endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
Sub Models.
GameBoxscoreOptions - Are the options to hit the game boxscore endpoint.
No description provided by the author
GameLineupOptions - Are the options to hit the game lineup endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GamePlayByPlayOptions - Are the options to hit the seasonal DFS endpoint.
No description provided by the author
Main Models.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PlayerInjuriesOptions - Are the options to hit the player injuries endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
PlayersOptions - Are the options to hit the players endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SeasonalDfsOptions - Are the options to hit the seasonal DFS endpoint.
SeasonalGamesOptions - Are the options to hit the seasonal games endpoint.
SeasonalPlayerGamelogsOptions - Are the options to hit the seasonal games endpoint.
SeasonalPlayerStatsOptions - Are the options to hit the seasonal player stats endpoint.
SeasonalTeamGamelogsOptions - Are the options to hit the seasonal team gamelogs endpoint.
SeasonalTeamStatsOptions - Are the options to hit the seasonal team stats endpoint.
SeasonalVenuesOptions - Are the options to hit the seasonal venues endpoint.
Service - dependencies for the my sports feed service.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
IService - all functions that implement the My Sports Feed Service Interface.