Skip to content

Commit c6c1e74

Browse files
committed
0.0.1 bug fixes
1 parent 701d155 commit c6c1e74

17 files changed

+17
-17
lines changed

ftc_api/api/alliance_selection/get_v_2_0_season_alliances_event_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def _get_kwargs(
1515
*,
1616
client: AuthenticatedClient,
1717
) -> Dict[str, Any]:
18-
url = "{}/v2.0/{season}/alliances/{eventCode}".format("https://ftc-api.firstinspires.org/", season=season, eventCode=event_code)
18+
url = "{}/v2.0/{season}/alliances/{eventCode}".format("https://ftc-api.firstinspires.org", season=season, eventCode=event_code)
1919

2020
headers: Dict[str, str] = client.get_headers()
2121
cookies: Dict[str, Any] = client.get_cookies()

ftc_api/api/alliance_selection/get_v_2_0_season_alliances_event_code_selection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _get_kwargs(
1616
client: AuthenticatedClient,
1717
) -> Dict[str, Any]:
1818
url = "{}/v2.0/{season}/alliances/{eventCode}/selection".format(
19-
"https://ftc-api.firstinspires.org/", season=season, eventCode=event_code
19+
"https://ftc-api.firstinspires.org", season=season, eventCode=event_code
2020
)
2121

2222
headers: Dict[str, str] = client.get_headers()

ftc_api/api/awards/get_v2_0_season_awards_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def _get_kwargs(
1414
*,
1515
client: AuthenticatedClient,
1616
) -> Dict[str, Any]:
17-
url = "{}/v2.0/{season}/awards/list".format("https://ftc-api.firstinspires.org/", season=season)
17+
url = "{}/v2.0/{season}/awards/list".format("https://ftc-api.firstinspires.org", season=season)
1818

1919
headers: Dict[str, str] = client.get_headers()
2020
cookies: Dict[str, Any] = client.get_cookies()

ftc_api/api/awards/get_v_2_0_season_awards_event_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _get_kwargs(
1616
client: AuthenticatedClient,
1717
team_number: Union[Unset, None, int] = 0,
1818
) -> Dict[str, Any]:
19-
url = "{}/v2.0/{season}/awards/{eventCode}".format("https://ftc-api.firstinspires.org/", season=season, eventCode=event_code)
19+
url = "{}/v2.0/{season}/awards/{eventCode}".format("https://ftc-api.firstinspires.org", season=season, eventCode=event_code)
2020

2121
headers: Dict[str, str] = client.get_headers()
2222
cookies: Dict[str, Any] = client.get_cookies()

ftc_api/api/awards/get_v_2_0_season_awards_event_code_team_number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def _get_kwargs(
1717
client: AuthenticatedClient,
1818
) -> Dict[str, Any]:
1919
url = "{}/v2.0/{season}/awards/{eventCode}/{teamNumber}".format(
20-
"https://ftc-api.firstinspires.org/", season=season, eventCode=event_code, teamNumber=team_number
20+
"https://ftc-api.firstinspires.org", season=season, eventCode=event_code, teamNumber=team_number
2121
)
2222

2323
headers: Dict[str, str] = client.get_headers()

ftc_api/api/awards/get_v_2_0_season_awards_team_number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _get_kwargs(
1616
client: AuthenticatedClient,
1717
event_code: Union[Unset, None, str] = "",
1818
) -> Dict[str, Any]:
19-
url = "{}/v2.0/{season}/awards/{teamNumber}".format("https://ftc-api.firstinspires.org/", season=season, teamNumber=team_number)
19+
url = "{}/v2.0/{season}/awards/{teamNumber}".format("https://ftc-api.firstinspires.org", season=season, teamNumber=team_number)
2020

2121
headers: Dict[str, str] = client.get_headers()
2222
cookies: Dict[str, Any] = client.get_cookies()

ftc_api/api/general/get_v2_0.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def _get_kwargs(
1313
*,
1414
client: Client,
1515
) -> Dict[str, Any]:
16-
url = "{}/v2.0".format("https://ftc-api.firstinspires.org/")
16+
url = "{}/v2.0".format("https://ftc-api.firstinspires.org")
1717

1818
headers: Dict[str, str] = client.get_headers()
1919
cookies: Dict[str, Any] = client.get_cookies()

ftc_api/api/leagues/get_v2_0_season_leagues.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _get_kwargs(
1616
region_code: Union[Unset, None, str] = UNSET,
1717
league_code: Union[Unset, None, str] = UNSET,
1818
) -> Dict[str, Any]:
19-
url = "{}/v2.0/{season}/leagues".format("https://ftc-api.firstinspires.org/", season=season)
19+
url = "{}/v2.0/{season}/leagues".format("https://ftc-api.firstinspires.org", season=season)
2020

2121
headers: Dict[str, str] = client.get_headers()
2222
cookies: Dict[str, Any] = client.get_cookies()

ftc_api/api/leagues/get_v_2_0_season_leagues_members_region_code_league_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def _get_kwargs(
1717
client: AuthenticatedClient,
1818
) -> Dict[str, Any]:
1919
url = "{}/v2.0/{season}/leagues/members/{regionCode}/{leagueCode}".format(
20-
"https://ftc-api.firstinspires.org/", season=season, regionCode=region_code, leagueCode=league_code
20+
"https://ftc-api.firstinspires.org", season=season, regionCode=region_code, leagueCode=league_code
2121
)
2222

2323
headers: Dict[str, str] = client.get_headers()

ftc_api/api/leagues/get_v_2_0_season_leagues_rankings_region_code_league_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def _get_kwargs(
1717
client: AuthenticatedClient,
1818
) -> Dict[str, Any]:
1919
url = "{}/v2.0/{season}/leagues/rankings/{regionCode}/{leagueCode}".format(
20-
"https://ftc-api.firstinspires.org/", season=season, regionCode=region_code, leagueCode=league_code
20+
"https://ftc-api.firstinspires.org", season=season, regionCode=region_code, leagueCode=league_code
2121
)
2222

2323
headers: Dict[str, str] = client.get_headers()

0 commit comments

Comments
 (0)