@@ -550,7 +550,9 @@ def __priv(self):
550
550
551
551
def friendFeed (self , platform , gamertag :str ):
552
552
p , g = self .__priv ()
553
- data = asyncio .run (self ._common__sendRequest (f"/userfeed/v1/friendFeed/platform/{ p } /gamer/{ g } /friendFeedEvents/en" ))
553
+ data = asyncio .run (
554
+ self ._common__sendRequest (f"/userfeed/v1/friendFeed/platform/{ p } /gamer/{ g } /friendFeedEvents/en" )
555
+ )
554
556
return data
555
557
556
558
def eventFeed (self ):
@@ -576,10 +578,10 @@ def settings(self):
576
578
data = asyncio .run (self ._common__sendRequest (f"/preferences/v1/platform/{ p } /gamer/{ g } /list" ))
577
579
return data
578
580
579
-
580
581
# ALT
581
582
class __ALT (__common ):
582
- def search (self , platform , gamertag :str ):
583
+
584
+ def search (self , platform , gamertag : str ):
583
585
lookUpType , gamertag = self ._common__helper (platform , gamertag )
584
586
data = asyncio .run (self ._common__sendRequest (f"/crm/cod/v2/platform/{ platform .value } /username/{ gamertag } /search" ))
585
587
return data
@@ -606,12 +608,12 @@ def __init__(self, platform: platforms):
606
608
if platform == platforms .Steam :
607
609
self .message = "Steam cannot be used till further updates."
608
610
else :
609
- self .message = f "Invalid platform, use platform class!"
611
+ self .message = "Invalid platform, use platform class!"
610
612
611
613
def __str__ (self ):
612
614
return self .message
613
615
614
616
615
617
class StatusError (Exception ):
616
618
def __str__ (self ):
617
- return "Status Error, Check if your sso token is valid or try again later."
619
+ return "Status Error, Check if your sso token is valid or try again later."
0 commit comments