foxapi 1.1.0__tar.gz → 1.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foxapi
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: A wrapper for the foxhole API
5
5
  Home-page: https://github.com/ThePhoenix78/FoxAPI
6
6
  Download-URL: https://github.com/ThePhoenix78/FoxAPI/tarball/master
@@ -164,11 +164,11 @@ from foxapi import FoxAPI
164
164
 
165
165
  # don't forget to download the image folder https://github.com/ThePhoenix78/FoxAPI/tree/main/foxapi
166
166
 
167
- fox = FoxAPI(shard="2", image_dir="Images")
167
+ fox = FoxAPI(shard="1", image_dir="Images")
168
168
 
169
169
  hexagon: str = "DeadLandsHex"
170
170
 
171
- def retrieve():
171
+ def function(hexagon: str):
172
172
  # Get the list of available hexagons (maps) and state of the current war
173
173
  maps: list = fox.get_maps_sync()
174
174
  war: dict = fox.get_war_sync()
@@ -188,7 +188,7 @@ def retrieve():
188
188
 
189
189
  # Async equivalent
190
190
 
191
- async def retrieve():
191
+ async def function(hexagon: str):
192
192
  # Get the list of available hexagons (maps) and state of the current war
193
193
  maps: list = await fox.get_maps()
194
194
  war: dict = await fox.get_war()
@@ -146,11 +146,11 @@ from foxapi import FoxAPI
146
146
 
147
147
  # don't forget to download the image folder https://github.com/ThePhoenix78/FoxAPI/tree/main/foxapi
148
148
 
149
- fox = FoxAPI(shard="2", image_dir="Images")
149
+ fox = FoxAPI(shard="1", image_dir="Images")
150
150
 
151
151
  hexagon: str = "DeadLandsHex"
152
152
 
153
- def retrieve():
153
+ def function(hexagon: str):
154
154
  # Get the list of available hexagons (maps) and state of the current war
155
155
  maps: list = fox.get_maps_sync()
156
156
  war: dict = fox.get_war_sync()
@@ -170,7 +170,7 @@ def retrieve():
170
170
 
171
171
  # Async equivalent
172
172
 
173
- async def retrieve():
173
+ async def function(hexagon: str):
174
174
  # Get the list of available hexagons (maps) and state of the current war
175
175
  maps: list = await fox.get_maps()
176
176
  war: dict = await fox.get_war()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foxapi
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: A wrapper for the foxhole API
5
5
  Home-page: https://github.com/ThePhoenix78/FoxAPI
6
6
  Download-URL: https://github.com/ThePhoenix78/FoxAPI/tarball/master
@@ -164,11 +164,11 @@ from foxapi import FoxAPI
164
164
 
165
165
  # don't forget to download the image folder https://github.com/ThePhoenix78/FoxAPI/tree/main/foxapi
166
166
 
167
- fox = FoxAPI(shard="2", image_dir="Images")
167
+ fox = FoxAPI(shard="1", image_dir="Images")
168
168
 
169
169
  hexagon: str = "DeadLandsHex"
170
170
 
171
- def retrieve():
171
+ def function(hexagon: str):
172
172
  # Get the list of available hexagons (maps) and state of the current war
173
173
  maps: list = fox.get_maps_sync()
174
174
  war: dict = fox.get_war_sync()
@@ -188,7 +188,7 @@ def retrieve():
188
188
 
189
189
  # Async equivalent
190
190
 
191
- async def retrieve():
191
+ async def function(hexagon: str):
192
192
  # Get the list of available hexagons (maps) and state of the current war
193
193
  maps: list = await fox.get_maps()
194
194
  war: dict = await fox.get_war()
@@ -6,7 +6,7 @@ with open("README.md", "r") as stream:
6
6
 
7
7
  setup(
8
8
  name='foxapi',
9
- version="1.1.0",
9
+ version="1.1.2",
10
10
  url='https://github.com/ThePhoenix78/FoxAPI',
11
11
  download_url='https://github.com/ThePhoenix78/FoxAPI/tarball/master',
12
12
  license='MIT',
@@ -32,7 +32,12 @@ setup(
32
32
  "License :: OSI Approved :: MIT License",
33
33
  "Operating System :: OS Independent",
34
34
  ],
35
- packages=find_packages()
35
+ packages=find_packages(),
36
+ package_data={
37
+ 'foxapi.Images.MapHex': ["*.png"],
38
+ 'foxapi.Images.MapIcons': ["*.png"]
39
+ },
40
+ include_package_data=True,
36
41
  # packages=["sdist", "bdist_wheel"]
37
42
  # python_requires='>=3.6',
38
43
  )
File without changes
File without changes
File without changes
File without changes
File without changes