foxapi 1.6.5__tar.gz → 1.6.7__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.6.5 → foxapi-1.6.7}/PKG-INFO +4 -2
- {foxapi-1.6.5 → foxapi-1.6.7}/README.md +2 -0
- foxapi-1.6.7/foxapi/__init__.py +27 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi.egg-info/PKG-INFO +4 -2
- {foxapi-1.6.5 → foxapi-1.6.7}/setup.py +5 -3
- foxapi-1.6.5/foxapi/__init__.py +0 -1
- {foxapi-1.6.5 → foxapi-1.6.7}/LICENSE +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/10.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/11.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/12.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/13.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/14.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/15.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/16.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/17.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/18.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/19.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/20.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/21.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/22.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/23.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/27.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/28.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/29.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/30.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/32.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/33.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/34.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/35.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/37.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/38.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/39.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/40.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/41.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/45.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/46.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/47.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/5.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/51.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/52.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/53.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/54.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/56.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/57.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/58.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/59.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/6.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/60.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/61.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/62.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/7.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/70.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/71.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/72.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/75.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/8.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/83.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/84.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/9.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/DebugIcon.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/MapIconCivicCenter.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/MapIconFortCursed.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/MapIconForwardBase1.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/MapIconScorchedTown.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/MapIconTownHall.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapIcons/MapIconVictory.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapAcrithiaHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapAllodsBightHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapAshFieldsHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapBasinSionnachHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapCallahansPassageHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapCallumsCapeHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapClahstraHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapClansheadValleyHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapDeadLandsHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapDrownedValeHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapEndlessShoreHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapFarranacCoastHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapFishermansRowHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapGodcroftsHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapGreatMarchHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapHeartlandsHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapHomeRegionC.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapHomeRegionW.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapHowlCountyHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapKalokaiHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapKingsCageHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapLinnMercyHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapLochMorHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapMarbanHollow.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapMooringCountyHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapMorgensCrossingHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapNevishLineHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapOarbreakerHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapOriginHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapReachingTrailHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapReaversPassHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapRedRiverHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapSableportHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapShackledChasmHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapSpeakingWoodsHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapStemaLandingHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapStlicanShelfHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapStonecradleHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapTempestIslandHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapTerminusHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapTheFingersHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapUmbralWildwoodHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapViperPitHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapWeatheredExpanseHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/Images/MapsHex/MapWestgateHex.png +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/foxapi.py +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi/utils.py +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi.egg-info/SOURCES.txt +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi.egg-info/dependency_links.txt +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi.egg-info/requires.txt +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/foxapi.egg-info/top_level.txt +0 -0
- {foxapi-1.6.5 → foxapi-1.6.7}/setup.cfg +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: foxapi
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.7
|
|
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,foxhole-game
|
|
10
|
+
Keywords: foxhole,foxapi,foxhole-game,foxhole-api
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
@@ -214,7 +214,9 @@ asyncio.run(main())
|
|
|
214
214
|
## Error Handling
|
|
215
215
|
|
|
216
216
|
```EndpointError```: Raised if an invalid API endpoint is used.
|
|
217
|
+
|
|
217
218
|
```HexagonError```: Raised if an invalid hexagon is provided.
|
|
219
|
+
|
|
218
220
|
```FoxAPIError```: A general error for issues within the FoxAPI class (e.g., missing data).
|
|
219
221
|
|
|
220
222
|
|
|
@@ -183,7 +183,9 @@ asyncio.run(main())
|
|
|
183
183
|
## Error Handling
|
|
184
184
|
|
|
185
185
|
```EndpointError```: Raised if an invalid API endpoint is used.
|
|
186
|
+
|
|
186
187
|
```HexagonError```: Raised if an invalid hexagon is provided.
|
|
188
|
+
|
|
187
189
|
```FoxAPIError```: A general error for issues within the FoxAPI class (e.g., missing data).
|
|
188
190
|
|
|
189
191
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from .foxapi import FoxAPI
|
|
2
|
+
from .utils import HexagonObject, FoxAPIError, HexagonError, EndpointError, APIResponse, Task
|
|
3
|
+
|
|
4
|
+
import requests, json
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
__title__ = 'FoxAPI'
|
|
8
|
+
__author__ = 'ThePhoenix78'
|
|
9
|
+
__license__ = 'MIT'
|
|
10
|
+
__copyright__ = 'Copyright 2024-2025 ThePhoenix78'
|
|
11
|
+
__url__ = 'https://github.com/ThePhoenix78/FoxAPI'
|
|
12
|
+
__newest__ = __version__ = '1.6.7'
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
try:
|
|
16
|
+
with requests.get("https://pypi.python.org/pypi/FoxAPI/json") as response:
|
|
17
|
+
__newest__ = json.loads(response.text)["info"]["version"]
|
|
18
|
+
except requests.RequestException:
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
finally:
|
|
22
|
+
del json, requests
|
|
23
|
+
|
|
24
|
+
if __version__ < __newest__:
|
|
25
|
+
print(f"New version of {__title__} available: {__newest__} (Using {__version__})")
|
|
26
|
+
else:
|
|
27
|
+
print(f"version : {__version__}")
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: foxapi
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.7
|
|
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,foxhole-game
|
|
10
|
+
Keywords: foxhole,foxapi,foxhole-game,foxhole-api
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
@@ -214,7 +214,9 @@ asyncio.run(main())
|
|
|
214
214
|
## Error Handling
|
|
215
215
|
|
|
216
216
|
```EndpointError```: Raised if an invalid API endpoint is used.
|
|
217
|
+
|
|
217
218
|
```HexagonError```: Raised if an invalid hexagon is provided.
|
|
219
|
+
|
|
218
220
|
```FoxAPIError```: A general error for issues within the FoxAPI class (e.g., missing data).
|
|
219
221
|
|
|
220
222
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
|
+
import foxapi
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
with open("README.md", "r") as stream:
|
|
@@ -6,8 +7,8 @@ with open("README.md", "r") as stream:
|
|
|
6
7
|
|
|
7
8
|
setup(
|
|
8
9
|
name='foxapi',
|
|
9
|
-
version=
|
|
10
|
-
url=
|
|
10
|
+
version=foxapi.__version__,
|
|
11
|
+
url=foxapi.__url__,
|
|
11
12
|
download_url='https://github.com/ThePhoenix78/FoxAPI/tarball/master',
|
|
12
13
|
license='MIT',
|
|
13
14
|
author='ThePhoenix78',
|
|
@@ -18,7 +19,8 @@ setup(
|
|
|
18
19
|
keywords=[
|
|
19
20
|
'foxhole',
|
|
20
21
|
'foxapi',
|
|
21
|
-
'foxhole-game'
|
|
22
|
+
'foxhole-game',
|
|
23
|
+
'foxhole-api'
|
|
22
24
|
],
|
|
23
25
|
install_requires=[
|
|
24
26
|
'requests',
|
foxapi-1.6.5/foxapi/__init__.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
from .foxapi import FoxAPI
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|