@@ -19,6 +19,8 @@ async def get(self, name: str) -> Optional['Image']:
1919 Only accepts image names of public RecNet posts.
2020 Returns nothing if the image doesn't exist or is private.
2121
22+ Authorization required.
23+
2224 :param name: The name of the image.
2325 :return: An image object representing the data or nothing if not found.
2426 """
@@ -35,6 +37,8 @@ async def get_many(self, names: List[str]) -> List['Image']:
3537 Only accepts image names of public RecNet posts.
3638 Images that couldn't be found will be silently ignored.
3739
40+ Authorization required.
41+
3842 :param name: The name of the image.
3943 :return: A list of image objects.
4044 """
@@ -47,6 +51,8 @@ async def fetch(self, id: int) -> Optional['Image']:
4751 Gets image data by their id, and returns it as an image object.
4852 Returns nothing if the image doesn't exist or is private.
4953
54+ Authorization required.
55+
5056 :param id: The id of the image.
5157 :return: An image object representing the data or nothing if not found.
5258 """
@@ -61,6 +67,8 @@ async def fetch_many(self, ids: List[int]) -> List['Image']:
6167 a list of image object.
6268 Images that couldn't be found will be silently ignored.
6369
70+ Authorization required.
71+
6472 :param ids: A list of ids.
6573 :return: A list of image objects.
6674 """
@@ -72,6 +80,8 @@ async def from_account(self, id: int, take: int = 16, skip: int = 0, sort: int =
7280 Gets a list of images taken by a player.
7381 If no image or the respective account is found, an empty list will be returned.
7482
83+ Authorization required.
84+
7585 :param id: A player id.
7686 :param take: The number of results to return.
7787 :param skip: The number of results to skip.
@@ -91,6 +101,8 @@ async def player_feed(self, id: int, take: int = 16, skip: int = 0) -> List['Ima
91101 Gets a list of images taken of a player.
92102 If no image or the respective account is found, an empty list will be returned.
93103
104+ Authorization required.
105+
94106 :param id: A player id.
95107 :param take: The number of results to return.
96108 :param skip: The number of results to skip.
@@ -108,6 +120,8 @@ async def during_event(self, id: int, take: int = 16, skip: int = 0) -> List['Im
108120 Gets a list of images taken during an event.
109121 If no image or the respective event is found, an empty list will be returned.
110122
123+ Authorization required.
124+
111125 :param id: A event id.
112126 :param take: The number of results to return.
113127 :param skip: The number of results to skip.
@@ -125,6 +139,8 @@ async def in_room(self, id: int, take: int = 16, skip: int = 0, sort: int = 0) -
125139 Gets a list of images taken in a room.
126140 If no image or the respective room is found, an empty list will be returned.
127141
142+ Authorization required.
143+
128144 :param id: A room id.
129145 :param take: The number of results to return.
130146 :param skip: The number of results to skip.
@@ -143,6 +159,8 @@ async def front_page(self, take: int = 16, skip: int = 0) -> List['Image']:
143159 """
144160 Gets a list of the most popular images on RecNet.
145161
162+ Authorization required.
163+
146164 :param take: The number of results to return.
147165 :param skip: The number of results to skip.
148166 :return: A list of image objects.
0 commit comments