Skip to content

Commit 63ab86d

Browse files
committed
2.3.0 accepted to CRAN
1 parent 51032cc commit 63ab86d

File tree

5 files changed

+8
-28
lines changed

5 files changed

+8
-28
lines changed

CRAN-SUBMISSION

Lines changed: 0 additions & 3 deletions
This file was deleted.

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: fflr
22
Title: Retrieve ESPN Fantasy Football Data
3-
Version: 2.3.0
3+
Version: 2.3.0.9000
44
Authors@R:
55
person("Kiernan", "Nicholls", email = "k5cents@gmail.com", role = c("aut", "cre", "cph"),
66
comment = c(ORCID = "0000-0002-9229-7897"))

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# fflr (development version)
2+
13
# fflr 2.3.0
24

35
* Update the package to work with the new API.

README.Rmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ contributing, you agree to abide by its terms.
117117
[dl_badge]: https://cranlogs.r-pkg.org/badges/grand-total/fflr
118118
[api]: https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/
119119
[iss]: https://github.com/k5cents/fflr/issues
120-
>>>>>>> 51d8f8313cb57960ba168ad9b476f2d226482453
121120
[cran]: https://cran.r-project.org/package=fflr
122121
[gh]: https://github.com/k5cents/fflr
123122
[coc]: https://k5cents.github.io/fflr/CODE_OF_CONDUCT.html

README.md

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ status](https://github.com/k5cents/fflr/workflows/R-CMD-check/badge.svg)](https:
1717
<!-- badges: end -->
1818

1919
The fflr package is used to query the [ESPN Fantasy Football
20-
API](https://fantasy.espn.com/apis/v3/games/ffl/). Get data on fantasy
21-
football league members, teams, and individual athletes.
20+
API](https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/). Get data
21+
on fantasy football league members, teams, and individual athletes.
2222

2323
This package has been tested with a narrow subset of possible league
2424
settings. If a function doesn’t work as intended, please file an [issue
@@ -46,7 +46,7 @@ remotes::install_github("k5cents/fflr")
4646
``` r
4747
library(fflr)
4848
packageVersion("fflr")
49-
#> [1] '2.2.3'
49+
#> [1] '2.3.0'
5050
```
5151

5252
Data is only available for public leagues. See [this help
@@ -76,7 +76,7 @@ league_info()
7676
#> # A tibble: 1 × 6
7777
#> id seasonId name isPublic size finalScoringPeriod
7878
#> <int> <int> <chr> <lgl> <int> <int>
79-
#> 1 42654852 2023 FFLR Test League TRUE 4 17
79+
#> 1 42654852 2024 FFLR Test League TRUE 4 17
8080
league_teams()
8181
#> # A tibble: 4 × 6
8282
#> teamId abbrev name logo logoType memberId
@@ -92,25 +92,7 @@ The `scoringPeriodId` argument can be used to get data from past weeks.
9292
``` r
9393
all_rost <- team_roster(scoringPeriodId = 1)
9494
all_rost$CHI[, 5:13][-7]
95-
#> # A tibble: 16 × 8
96-
#> lineupSlot playerId firstName lastName proTeam position projectedScore actualScore
97-
#> <fct> <int> <chr> <chr> <fct> <fct> <dbl> <dbl>
98-
#> 1 QB 4040715 Jalen Hurts Phi QB 21.3 12.5
99-
#> 2 RB 3929630 Saquon Barkley NYG RB 16.9 9.3
100-
#> 3 RB 4239996 Travis Etienne Jr. Jax RB 15.1 21.4
101-
#> 4 WR 4262921 Justin Jefferson Min WR 20.1 24
102-
#> 5 WR 4569618 Garrett Wilson NYJ WR 16.4 14.4
103-
#> 6 TE 15847 Travis Kelce KC TE 0 0
104-
#> 7 FLEX 4374302 Amon-Ra St. Brown Det WR 16.7 19.1
105-
#> 8 D/ST -16025 49ers D/ST SF D/ST 7.78 14
106-
#> 9 K 3055899 Harrison Butker KC K 8.41 8
107-
#> 10 BE 4429795 Jahmyr Gibbs Det RB 14.0 8
108-
#> 11 BE 3042519 Aaron Jones GB RB 15.5 26.7
109-
#> 12 BE 3915511 Joe Burrow Cin QB 19.8 3.18
110-
#> 13 BE 2976499 Amari Cooper Cle WR 13.6 6.7
111-
#> 14 BE 4697815 Rachaad White TB RB 13.9 6.9
112-
#> 15 BE 3054850 Alvin Kamara NO RB 0 0
113-
#> 16 BE 4038941 Justin Herbert LAC QB 16.9 20.9
95+
#> NULL
11496
```
11597

11698
There are included objects for NFL teams and players.

0 commit comments

Comments
 (0)