foxapi 1.0.7__tar.gz → 1.1.1__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.
- {foxapi-1.0.7 → foxapi-1.1.1}/PKG-INFO +8 -6
- {foxapi-1.0.7 → foxapi-1.1.1}/README.md +6 -4
- foxapi-1.1.1/foxapi/Images/MapIcons/10.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/11.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/11COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/11WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/12.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/12COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/12WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/13.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/14.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/15.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/16.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/17.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/17COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/17WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/18.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/18COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/18WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/19.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/19COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/19WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/20.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/21.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/22.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/23.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/27.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/27COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/27WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/28.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/28COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/28WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/29.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/29COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/29WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/30.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/30COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/30WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/32.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/33.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/33COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/33WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/34.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/34COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/34WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/35.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/35COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/35WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/37.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/37COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/37WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/38.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/39.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/39COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/39WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/40.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/41.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/45.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/45COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/45WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/46.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/46COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/46WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/47.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/47COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/47WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/5.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/51.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/51COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/51WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/52.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/52COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/52WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/53.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/53COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/53WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/54.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/56.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/56COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/56WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/57.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/57COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/57WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/58.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/58COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/58WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/59COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/59WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/5COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/5WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/6.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/60COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/60WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/61.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/62.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/6COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/6WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/7.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/75.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/75COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/75WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/7COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/7WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/8.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/84COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/84WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/8COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/8WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/9.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/9COLONIALS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/9WARDENS.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/DebugIcon.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconCivicCenter.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconCoalFieldColor.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconFortCursed.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconHomeBaseHallColonial.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconHomeBaseHallWarden.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconOilFieldColor.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconSafehouse.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconScorchedTown.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconSulfurColor.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconTownHall.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconTownHallColonial.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconTownHallWarden.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconVictory.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconVictoryColonial.png +0 -0
- foxapi-1.1.1/foxapi/Images/MapIcons/MapIconVictoryWarden.png +0 -0
- {foxapi-1.0.7 → foxapi-1.1.1}/foxapi/foxapi.py +11 -2
- {foxapi-1.0.7 → foxapi-1.1.1}/foxapi.egg-info/PKG-INFO +8 -6
- foxapi-1.1.1/foxapi.egg-info/SOURCES.txt +136 -0
- {foxapi-1.0.7 → foxapi-1.1.1}/setup.py +7 -4
- foxapi-1.0.7/foxapi.egg-info/SOURCES.txt +0 -11
- {foxapi-1.0.7 → foxapi-1.1.1}/LICENSE +0 -0
- {foxapi-1.0.7 → foxapi-1.1.1}/foxapi/__init__.py +0 -0
- {foxapi-1.0.7 → foxapi-1.1.1}/foxapi/utils.py +0 -0
- {foxapi-1.0.7 → foxapi-1.1.1}/foxapi.egg-info/dependency_links.txt +0 -0
- {foxapi-1.0.7 → foxapi-1.1.1}/foxapi.egg-info/requires.txt +0 -0
- {foxapi-1.0.7 → foxapi-1.1.1}/foxapi.egg-info/top_level.txt +0 -0
- {foxapi-1.0.7 → foxapi-1.1.1}/setup.cfg +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: foxapi
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1.1
|
|
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
|
|
7
7
|
Author: ThePhoenix78
|
|
8
8
|
Author-email: thephoenix788@gmail.com
|
|
9
9
|
License: MIT
|
|
10
|
-
Keywords: foxhole,foxapi
|
|
10
|
+
Keywords: foxhole,foxapi,foxhole-game
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
@@ -54,7 +54,7 @@ Also, if you work with discord.py or any asynchronous API, this tool might be us
|
|
|
54
54
|
## Wrapper
|
|
55
55
|
|
|
56
56
|
```python
|
|
57
|
-
class FoxAPI(image_dir: str = None, safe_mode: bool = True)
|
|
57
|
+
class FoxAPI(shard: str = "", image_dir: str = None, safe_mode: bool = True)
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
|
|
@@ -162,11 +162,13 @@ from foxapi import FoxAPI
|
|
|
162
162
|
# api calls and hexagons name into valid ones
|
|
163
163
|
# Ex: deadlands -> DeadLandsHex (Yes, I am *that* lazy)
|
|
164
164
|
|
|
165
|
-
|
|
165
|
+
# don't forget to download the image folder https://github.com/ThePhoenix78/FoxAPI/tree/main/foxapi
|
|
166
|
+
|
|
167
|
+
fox = FoxAPI(shard="1", image_dir="Images")
|
|
166
168
|
|
|
167
169
|
hexagon: str = "DeadLandsHex"
|
|
168
170
|
|
|
169
|
-
def
|
|
171
|
+
def function(hexagon: str):
|
|
170
172
|
# Get the list of available hexagons (maps) and state of the current war
|
|
171
173
|
maps: list = fox.get_maps_sync()
|
|
172
174
|
war: dict = fox.get_war_sync()
|
|
@@ -186,7 +188,7 @@ def retrieve():
|
|
|
186
188
|
|
|
187
189
|
# Async equivalent
|
|
188
190
|
|
|
189
|
-
async def
|
|
191
|
+
async def function(hexagon: str):
|
|
190
192
|
# Get the list of available hexagons (maps) and state of the current war
|
|
191
193
|
maps: list = await fox.get_maps()
|
|
192
194
|
war: dict = await fox.get_war()
|
|
@@ -36,7 +36,7 @@ Also, if you work with discord.py or any asynchronous API, this tool might be us
|
|
|
36
36
|
## Wrapper
|
|
37
37
|
|
|
38
38
|
```python
|
|
39
|
-
class FoxAPI(image_dir: str = None, safe_mode: bool = True)
|
|
39
|
+
class FoxAPI(shard: str = "", image_dir: str = None, safe_mode: bool = True)
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
|
|
@@ -144,11 +144,13 @@ from foxapi import FoxAPI
|
|
|
144
144
|
# api calls and hexagons name into valid ones
|
|
145
145
|
# Ex: deadlands -> DeadLandsHex (Yes, I am *that* lazy)
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
# don't forget to download the image folder https://github.com/ThePhoenix78/FoxAPI/tree/main/foxapi
|
|
148
|
+
|
|
149
|
+
fox = FoxAPI(shard="1", image_dir="Images")
|
|
148
150
|
|
|
149
151
|
hexagon: str = "DeadLandsHex"
|
|
150
152
|
|
|
151
|
-
def
|
|
153
|
+
def function(hexagon: str):
|
|
152
154
|
# Get the list of available hexagons (maps) and state of the current war
|
|
153
155
|
maps: list = fox.get_maps_sync()
|
|
154
156
|
war: dict = fox.get_war_sync()
|
|
@@ -168,7 +170,7 @@ def retrieve():
|
|
|
168
170
|
|
|
169
171
|
# Async equivalent
|
|
170
172
|
|
|
171
|
-
async def
|
|
173
|
+
async def function(hexagon: str):
|
|
172
174
|
# Get the list of available hexagons (maps) and state of the current war
|
|
173
175
|
maps: list = await fox.get_maps()
|
|
174
176
|
war: dict = await fox.get_war()
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -21,8 +21,17 @@ import os
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
class FoxAPI():
|
|
24
|
-
def __init__(self, image_dir: str = None, safe_mode: bool = True):
|
|
25
|
-
|
|
24
|
+
def __init__(self, shard: str = "", image_dir: str = None, safe_mode: bool = True):
|
|
25
|
+
if shard in [1, "1"]:
|
|
26
|
+
shard: str = ""
|
|
27
|
+
|
|
28
|
+
elif shard in [2, "2", "-2"]:
|
|
29
|
+
shard: str = "-2"
|
|
30
|
+
|
|
31
|
+
elif shard in [3, "3", "-3"]:
|
|
32
|
+
shard: str = "-3"
|
|
33
|
+
|
|
34
|
+
self.base_api: str = f"https://war-service-live{shard}.foxholeservices.com/api/worldconquest"
|
|
26
35
|
self.session: requests.Session = requests.Session()
|
|
27
36
|
|
|
28
37
|
if image_dir is not None:
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: foxapi
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1.1
|
|
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
|
|
7
7
|
Author: ThePhoenix78
|
|
8
8
|
Author-email: thephoenix788@gmail.com
|
|
9
9
|
License: MIT
|
|
10
|
-
Keywords: foxhole,foxapi
|
|
10
|
+
Keywords: foxhole,foxapi,foxhole-game
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
@@ -54,7 +54,7 @@ Also, if you work with discord.py or any asynchronous API, this tool might be us
|
|
|
54
54
|
## Wrapper
|
|
55
55
|
|
|
56
56
|
```python
|
|
57
|
-
class FoxAPI(image_dir: str = None, safe_mode: bool = True)
|
|
57
|
+
class FoxAPI(shard: str = "", image_dir: str = None, safe_mode: bool = True)
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
|
|
@@ -162,11 +162,13 @@ from foxapi import FoxAPI
|
|
|
162
162
|
# api calls and hexagons name into valid ones
|
|
163
163
|
# Ex: deadlands -> DeadLandsHex (Yes, I am *that* lazy)
|
|
164
164
|
|
|
165
|
-
|
|
165
|
+
# don't forget to download the image folder https://github.com/ThePhoenix78/FoxAPI/tree/main/foxapi
|
|
166
|
+
|
|
167
|
+
fox = FoxAPI(shard="1", image_dir="Images")
|
|
166
168
|
|
|
167
169
|
hexagon: str = "DeadLandsHex"
|
|
168
170
|
|
|
169
|
-
def
|
|
171
|
+
def function(hexagon: str):
|
|
170
172
|
# Get the list of available hexagons (maps) and state of the current war
|
|
171
173
|
maps: list = fox.get_maps_sync()
|
|
172
174
|
war: dict = fox.get_war_sync()
|
|
@@ -186,7 +188,7 @@ def retrieve():
|
|
|
186
188
|
|
|
187
189
|
# Async equivalent
|
|
188
190
|
|
|
189
|
-
async def
|
|
191
|
+
async def function(hexagon: str):
|
|
190
192
|
# Get the list of available hexagons (maps) and state of the current war
|
|
191
193
|
maps: list = await fox.get_maps()
|
|
192
194
|
war: dict = await fox.get_war()
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
setup.py
|
|
4
|
+
foxapi/__init__.py
|
|
5
|
+
foxapi/foxapi.py
|
|
6
|
+
foxapi/utils.py
|
|
7
|
+
foxapi.egg-info/PKG-INFO
|
|
8
|
+
foxapi.egg-info/SOURCES.txt
|
|
9
|
+
foxapi.egg-info/dependency_links.txt
|
|
10
|
+
foxapi.egg-info/requires.txt
|
|
11
|
+
foxapi.egg-info/top_level.txt
|
|
12
|
+
foxapi/Images/MapIcons/10.png
|
|
13
|
+
foxapi/Images/MapIcons/11.png
|
|
14
|
+
foxapi/Images/MapIcons/11COLONIALS.png
|
|
15
|
+
foxapi/Images/MapIcons/11WARDENS.png
|
|
16
|
+
foxapi/Images/MapIcons/12.png
|
|
17
|
+
foxapi/Images/MapIcons/12COLONIALS.png
|
|
18
|
+
foxapi/Images/MapIcons/12WARDENS.png
|
|
19
|
+
foxapi/Images/MapIcons/13.png
|
|
20
|
+
foxapi/Images/MapIcons/14.png
|
|
21
|
+
foxapi/Images/MapIcons/15.png
|
|
22
|
+
foxapi/Images/MapIcons/16.png
|
|
23
|
+
foxapi/Images/MapIcons/17.png
|
|
24
|
+
foxapi/Images/MapIcons/17COLONIALS.png
|
|
25
|
+
foxapi/Images/MapIcons/17WARDENS.png
|
|
26
|
+
foxapi/Images/MapIcons/18.png
|
|
27
|
+
foxapi/Images/MapIcons/18COLONIALS.png
|
|
28
|
+
foxapi/Images/MapIcons/18WARDENS.png
|
|
29
|
+
foxapi/Images/MapIcons/19.png
|
|
30
|
+
foxapi/Images/MapIcons/19COLONIALS.png
|
|
31
|
+
foxapi/Images/MapIcons/19WARDENS.png
|
|
32
|
+
foxapi/Images/MapIcons/20.png
|
|
33
|
+
foxapi/Images/MapIcons/21.png
|
|
34
|
+
foxapi/Images/MapIcons/22.png
|
|
35
|
+
foxapi/Images/MapIcons/23.png
|
|
36
|
+
foxapi/Images/MapIcons/27.png
|
|
37
|
+
foxapi/Images/MapIcons/27COLONIALS.png
|
|
38
|
+
foxapi/Images/MapIcons/27WARDENS.png
|
|
39
|
+
foxapi/Images/MapIcons/28.png
|
|
40
|
+
foxapi/Images/MapIcons/28COLONIALS.png
|
|
41
|
+
foxapi/Images/MapIcons/28WARDENS.png
|
|
42
|
+
foxapi/Images/MapIcons/29.png
|
|
43
|
+
foxapi/Images/MapIcons/29COLONIALS.png
|
|
44
|
+
foxapi/Images/MapIcons/29WARDENS.png
|
|
45
|
+
foxapi/Images/MapIcons/30.png
|
|
46
|
+
foxapi/Images/MapIcons/30COLONIALS.png
|
|
47
|
+
foxapi/Images/MapIcons/30WARDENS.png
|
|
48
|
+
foxapi/Images/MapIcons/32.png
|
|
49
|
+
foxapi/Images/MapIcons/33.png
|
|
50
|
+
foxapi/Images/MapIcons/33COLONIALS.png
|
|
51
|
+
foxapi/Images/MapIcons/33WARDENS.png
|
|
52
|
+
foxapi/Images/MapIcons/34.png
|
|
53
|
+
foxapi/Images/MapIcons/34COLONIALS.png
|
|
54
|
+
foxapi/Images/MapIcons/34WARDENS.png
|
|
55
|
+
foxapi/Images/MapIcons/35.png
|
|
56
|
+
foxapi/Images/MapIcons/35COLONIALS.png
|
|
57
|
+
foxapi/Images/MapIcons/35WARDENS.png
|
|
58
|
+
foxapi/Images/MapIcons/37.png
|
|
59
|
+
foxapi/Images/MapIcons/37COLONIALS.png
|
|
60
|
+
foxapi/Images/MapIcons/37WARDENS.png
|
|
61
|
+
foxapi/Images/MapIcons/38.png
|
|
62
|
+
foxapi/Images/MapIcons/39.png
|
|
63
|
+
foxapi/Images/MapIcons/39COLONIALS.png
|
|
64
|
+
foxapi/Images/MapIcons/39WARDENS.png
|
|
65
|
+
foxapi/Images/MapIcons/40.png
|
|
66
|
+
foxapi/Images/MapIcons/41.png
|
|
67
|
+
foxapi/Images/MapIcons/45.png
|
|
68
|
+
foxapi/Images/MapIcons/45COLONIALS.png
|
|
69
|
+
foxapi/Images/MapIcons/45WARDENS.png
|
|
70
|
+
foxapi/Images/MapIcons/46.png
|
|
71
|
+
foxapi/Images/MapIcons/46COLONIALS.png
|
|
72
|
+
foxapi/Images/MapIcons/46WARDENS.png
|
|
73
|
+
foxapi/Images/MapIcons/47.png
|
|
74
|
+
foxapi/Images/MapIcons/47COLONIALS.png
|
|
75
|
+
foxapi/Images/MapIcons/47WARDENS.png
|
|
76
|
+
foxapi/Images/MapIcons/5.png
|
|
77
|
+
foxapi/Images/MapIcons/51.png
|
|
78
|
+
foxapi/Images/MapIcons/51COLONIALS.png
|
|
79
|
+
foxapi/Images/MapIcons/51WARDENS.png
|
|
80
|
+
foxapi/Images/MapIcons/52.png
|
|
81
|
+
foxapi/Images/MapIcons/52COLONIALS.png
|
|
82
|
+
foxapi/Images/MapIcons/52WARDENS.png
|
|
83
|
+
foxapi/Images/MapIcons/53.png
|
|
84
|
+
foxapi/Images/MapIcons/53COLONIALS.png
|
|
85
|
+
foxapi/Images/MapIcons/53WARDENS.png
|
|
86
|
+
foxapi/Images/MapIcons/54.png
|
|
87
|
+
foxapi/Images/MapIcons/56.png
|
|
88
|
+
foxapi/Images/MapIcons/56COLONIALS.png
|
|
89
|
+
foxapi/Images/MapIcons/56WARDENS.png
|
|
90
|
+
foxapi/Images/MapIcons/57.png
|
|
91
|
+
foxapi/Images/MapIcons/57COLONIALS.png
|
|
92
|
+
foxapi/Images/MapIcons/57WARDENS.png
|
|
93
|
+
foxapi/Images/MapIcons/58.png
|
|
94
|
+
foxapi/Images/MapIcons/58COLONIALS.png
|
|
95
|
+
foxapi/Images/MapIcons/58WARDENS.png
|
|
96
|
+
foxapi/Images/MapIcons/59COLONIALS.png
|
|
97
|
+
foxapi/Images/MapIcons/59WARDENS.png
|
|
98
|
+
foxapi/Images/MapIcons/5COLONIALS.png
|
|
99
|
+
foxapi/Images/MapIcons/5WARDENS.png
|
|
100
|
+
foxapi/Images/MapIcons/6.png
|
|
101
|
+
foxapi/Images/MapIcons/60COLONIALS.png
|
|
102
|
+
foxapi/Images/MapIcons/60WARDENS.png
|
|
103
|
+
foxapi/Images/MapIcons/61.png
|
|
104
|
+
foxapi/Images/MapIcons/62.png
|
|
105
|
+
foxapi/Images/MapIcons/6COLONIALS.png
|
|
106
|
+
foxapi/Images/MapIcons/6WARDENS.png
|
|
107
|
+
foxapi/Images/MapIcons/7.png
|
|
108
|
+
foxapi/Images/MapIcons/75.png
|
|
109
|
+
foxapi/Images/MapIcons/75COLONIALS.png
|
|
110
|
+
foxapi/Images/MapIcons/75WARDENS.png
|
|
111
|
+
foxapi/Images/MapIcons/7COLONIALS.png
|
|
112
|
+
foxapi/Images/MapIcons/7WARDENS.png
|
|
113
|
+
foxapi/Images/MapIcons/8.png
|
|
114
|
+
foxapi/Images/MapIcons/84COLONIALS.png
|
|
115
|
+
foxapi/Images/MapIcons/84WARDENS.png
|
|
116
|
+
foxapi/Images/MapIcons/8COLONIALS.png
|
|
117
|
+
foxapi/Images/MapIcons/8WARDENS.png
|
|
118
|
+
foxapi/Images/MapIcons/9.png
|
|
119
|
+
foxapi/Images/MapIcons/9COLONIALS.png
|
|
120
|
+
foxapi/Images/MapIcons/9WARDENS.png
|
|
121
|
+
foxapi/Images/MapIcons/DebugIcon.png
|
|
122
|
+
foxapi/Images/MapIcons/MapIconCivicCenter.png
|
|
123
|
+
foxapi/Images/MapIcons/MapIconCoalFieldColor.png
|
|
124
|
+
foxapi/Images/MapIcons/MapIconFortCursed.png
|
|
125
|
+
foxapi/Images/MapIcons/MapIconHomeBaseHallColonial.png
|
|
126
|
+
foxapi/Images/MapIcons/MapIconHomeBaseHallWarden.png
|
|
127
|
+
foxapi/Images/MapIcons/MapIconOilFieldColor.png
|
|
128
|
+
foxapi/Images/MapIcons/MapIconSafehouse.png
|
|
129
|
+
foxapi/Images/MapIcons/MapIconScorchedTown.png
|
|
130
|
+
foxapi/Images/MapIcons/MapIconSulfurColor.png
|
|
131
|
+
foxapi/Images/MapIcons/MapIconTownHall.png
|
|
132
|
+
foxapi/Images/MapIcons/MapIconTownHallColonial.png
|
|
133
|
+
foxapi/Images/MapIcons/MapIconTownHallWarden.png
|
|
134
|
+
foxapi/Images/MapIcons/MapIconVictory.png
|
|
135
|
+
foxapi/Images/MapIcons/MapIconVictoryColonial.png
|
|
136
|
+
foxapi/Images/MapIcons/MapIconVictoryWarden.png
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
|
-
|
|
2
|
+
import os
|
|
3
3
|
|
|
4
4
|
with open("README.md", "r") as stream:
|
|
5
5
|
long_description = stream.read()
|
|
6
6
|
|
|
7
7
|
setup(
|
|
8
8
|
name='foxapi',
|
|
9
|
-
version="1.
|
|
9
|
+
version="1.1.1",
|
|
10
10
|
url='https://github.com/ThePhoenix78/FoxAPI',
|
|
11
11
|
download_url='https://github.com/ThePhoenix78/FoxAPI/tarball/master',
|
|
12
12
|
license='MIT',
|
|
@@ -17,7 +17,8 @@ setup(
|
|
|
17
17
|
long_description_content_type='text/markdown',
|
|
18
18
|
keywords=[
|
|
19
19
|
'foxhole',
|
|
20
|
-
'foxapi'
|
|
20
|
+
'foxapi',
|
|
21
|
+
'foxhole-game'
|
|
21
22
|
],
|
|
22
23
|
install_requires=[
|
|
23
24
|
'requests',
|
|
@@ -31,7 +32,9 @@ setup(
|
|
|
31
32
|
"License :: OSI Approved :: MIT License",
|
|
32
33
|
"Operating System :: OS Independent",
|
|
33
34
|
],
|
|
34
|
-
packages=find_packages()
|
|
35
|
+
packages=find_packages(),
|
|
36
|
+
package_data={'foxapi': ["Images/MapHex/*.png", "Images/MapIcons/*.png"]},
|
|
37
|
+
include_package_data=True,
|
|
35
38
|
# packages=["sdist", "bdist_wheel"]
|
|
36
39
|
# python_requires='>=3.6',
|
|
37
40
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|