Skip to content

Commit

Permalink
fixing yahoo adp/aav
Browse files Browse the repository at this point in the history
  • Loading branch information
atungate committed Aug 23, 2024
1 parent 56d0562 commit 8f02867
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ffanalytics
Type: Package
Title: Scrape Data For Fantasy Football
Version: 3.1.2.0004
Version: 3.1.2.0005
Authors@R: c(person("Dennis", "Andersen",
email = "[email protected]",
role = c("aut")),
Expand Down
2 changes: 1 addition & 1 deletion R/adp_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ yahoo_draft = function(metric = c("adp", "aav")) {
return(out_df)
}

req_obj = request("https://pub-api-ro.fantasysports.yahoo.com/fantasy/v2/league/423.l.public;out=settings/players;position=ALL;start=0;count=200;sort=rank_season;search=;out=auction_values;out=expert_ranks;expert_ranks.rank_type=projected_season_remaining/draft_analysis;cut_types=diamond;slices=last7days?format=json_f") %>%
req_obj = request("https://pub-api-ro.fantasysports.yahoo.com/fantasy/v2/league/449.l.public;out=settings/players;position=ALL;start=0;count=200;sort=rank_season;search=;out=auction_values;out=expert_ranks;expert_ranks.rank_type=projected_season_remaining/draft_analysis;cut_types=diamond;slices=last7days?format=json_f") %>%
req_method("GET") %>%
req_headers(
Accept = "*/*",
Expand Down

0 comments on commit 8f02867

Please sign in to comment.