Skip to content

golang API Implementation for accessing f1 fantasy data.

License

Notifications You must be signed in to change notification settings

vbonduro/f1-fantasy-api-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

f1-fantasy-api-go

GoDoc Go Report Card License

golang implementation of the f1-fantasy-api project.

Supported Features

The following APIs are currently supported:

  • Get list of drivers & constructors
  • Get list of circuits
  • Retrieve leaderboard for a specific league

If you would like to see more features supported, please open an issue or send a pull request.

Installation

go get github.com/vbonduro/f1-fantasy-api-go

Usage

You can use either the public or authenticated APIs.

The public API can be instantiated with: f1fantasy.NewApi(). The Public API does not require login credentials but has limited functionality.

The authenticated API can be instantiated with f1fantasy.NewAuthenticatedApi(user,password). An authenticated API has access to all functionality from this library.

All public API implementations can be found in the pkg/f1fantasy directory.

See here for an example program.

About

golang API Implementation for accessing f1 fantasy data.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages