@@ -551,7 +551,7 @@ class DiscordExtremeList(Service):
551
551
552
552
.. seealso::
553
553
- `Discord Extreme List Website <https://discordextremelist.xyz/>`_
554
- - `Discord Extreme List API Documentation <https://docs. discordextremelist.xyz/>`_
554
+ - `Discord Extreme List API Documentation <https://discordextremelist.xyz/docs >`_
555
555
"""
556
556
557
557
BASE_URL = 'https://api.discordextremelist.xyz/v2'
@@ -583,9 +583,7 @@ def get_statistics(self) -> HTTPResponse:
583
583
"""
584
584
return self ._request (
585
585
method = 'GET' ,
586
- path = '/stats' ,
587
- headers = {'Authorization' : self .token },
588
- requires_token = True
586
+ path = '/stats'
589
587
)
590
588
591
589
def get_bot (self , bot_id : str ) -> HTTPResponse :
@@ -599,39 +597,7 @@ def get_bot(self, bot_id: str) -> HTTPResponse:
599
597
"""
600
598
return self ._request (
601
599
method = 'GET' ,
602
- path = f'/bot/{ bot_id } ' ,
603
- headers = {'Authorization' : self .token },
604
- requires_token = True
605
- )
606
-
607
- def get_bot_stats (self , bot_id : str ) -> HTTPResponse :
608
- """|httpres|\n
609
- Gets the bot's stats on this service.
610
-
611
- Parameters
612
- -----------
613
- bot_id: :class:`str`
614
- The bot's ID.
615
- """
616
- return self ._request (
617
- method = 'GET' ,
618
- path = f'/bots/{ bot_id } /stats'
619
- )
620
-
621
- def get_bot_likes (self , bot_id : str ) -> HTTPResponse :
622
- """|httpres|\n
623
- Gets the list of people who liked this bot on this service.
624
-
625
- Parameters
626
- -----------
627
- bot_id: :class:`str`
628
- The bot's ID.
629
- """
630
- return self ._request (
631
- method = 'GET' ,
632
- path = f'/bots/{ bot_id } /likes' ,
633
- headers = {'Authorization' : self .token },
634
- requires_token = True
600
+ path = f'/bot/{ bot_id } '
635
601
)
636
602
637
603
def get_user (self , user_id : str ) -> HTTPResponse :
@@ -645,9 +611,7 @@ def get_user(self, user_id: str) -> HTTPResponse:
645
611
"""
646
612
return self ._request (
647
613
method = 'GET' ,
648
- path = f'/user/{ user_id } ' ,
649
- headers = {'Authorization' : self .token },
650
- requires_token = True
614
+ path = f'/user/{ user_id } '
651
615
)
652
616
653
617
0 commit comments