foxapi 1.2.0__tar.gz → 1.3.0__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.2.0 → foxapi-1.3.0}/PKG-INFO +15 -4
- {foxapi-1.2.0 → foxapi-1.3.0}/README.md +2 -2
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/foxapi.py +7 -2
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi.egg-info/PKG-INFO +15 -4
- {foxapi-1.2.0 → foxapi-1.3.0}/setup.py +1 -1
- {foxapi-1.2.0 → foxapi-1.3.0}/LICENSE +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/10.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/11.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/11COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/11WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/12.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/12COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/12WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/13.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/14.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/15.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/16.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/17.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/17COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/17WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/18.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/18COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/18WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/19.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/19COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/19WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/20.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/21.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/22.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/23.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/27.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/27COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/27WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/28.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/28COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/28WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/29.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/29COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/29WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/30.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/30COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/30WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/32.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/33.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/33COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/33WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/34.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/34COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/34WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/35.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/35COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/35WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/37.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/37COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/37WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/38.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/39.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/39COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/39WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/40.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/41.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/45.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/45COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/45WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/46.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/46COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/46WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/47.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/47COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/47WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/5.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/51.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/51COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/51WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/52.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/52COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/52WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/53.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/53COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/53WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/54.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/56.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/56COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/56WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/57.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/57COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/57WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/58.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/58COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/58WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/59COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/59WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/5COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/5WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/6.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/60COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/60WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/61.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/62.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/6COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/6WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/7.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/75.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/75COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/75WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/7COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/7WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/8.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/84COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/84WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/8COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/8WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/9.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/9COLONIALS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/9WARDENS.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/DebugIcon.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconCivicCenter.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconCoalFieldColor.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconFortCursed.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconHomeBaseHallColonial.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconHomeBaseHallWarden.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconOilFieldColor.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconSafehouse.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconScorchedTown.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconSulfurColor.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconTownHall.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconTownHallColonial.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconTownHallWarden.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconVictory.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconVictoryColonial.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapIcons/MapIconVictoryWarden.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapAcrithiaHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapAllodsBightHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapAshFieldsHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapBasinSionnachHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapCallahansPassageHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapCallumsCapeHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapClahstraHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapClansheadValleyHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapDeadlandsHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapDrownedValeHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapEndlessShoreHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapFarranacCoastHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapFishermansRowHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapGodcroftsHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapGreatMarchHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapHeartlandsHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapHomeRegionC.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapHomeRegionW.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapHowlCountyHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapKalokaiHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapKingsCageHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapLinnMercyHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapLochMorHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapMarbanHollow.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapMooringCountyHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapMorgensCrossingHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapNevishLineHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapOarbreakerHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapOriginHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapReachingTrailHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapReaversPassHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapRedRiverHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapSableportHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapShackledChasmHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapSpeakingWoodsHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapStemaLandingHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapStlicanShelfHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapStonecradleHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapTempestIslandHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapTerminusHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapTheFingersHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapUmbralWildwoodHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapViperPitHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapWeatheredExpanseHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/Images/MapsHex/MapWestgateHex.png +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/__init__.py +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi/utils.py +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi.egg-info/SOURCES.txt +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi.egg-info/dependency_links.txt +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi.egg-info/requires.txt +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/foxapi.egg-info/top_level.txt +0 -0
- {foxapi-1.2.0 → foxapi-1.3.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: foxapi
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
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
|
|
@@ -15,6 +15,17 @@ Description-Content-Type: text/markdown
|
|
|
15
15
|
License-File: LICENSE
|
|
16
16
|
Requires-Dist: requests
|
|
17
17
|
Requires-Dist: pillow
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: author-email
|
|
20
|
+
Dynamic: classifier
|
|
21
|
+
Dynamic: description
|
|
22
|
+
Dynamic: description-content-type
|
|
23
|
+
Dynamic: download-url
|
|
24
|
+
Dynamic: home-page
|
|
25
|
+
Dynamic: keywords
|
|
26
|
+
Dynamic: license
|
|
27
|
+
Dynamic: requires-dist
|
|
28
|
+
Dynamic: summary
|
|
18
29
|
|
|
19
30
|
# FoxAPI Documentation
|
|
20
31
|
|
|
@@ -237,7 +248,7 @@ async def function(hexagon: str = "DeadLandsHex"):
|
|
|
237
248
|
# Register a callback to listen for updates on all the hexagons
|
|
238
249
|
# it will run forever don't worry
|
|
239
250
|
|
|
240
|
-
@on_hexagon_update("all")
|
|
251
|
+
@fox.on_hexagon_update("all")
|
|
241
252
|
def on_update(hexa: HexagonObject):
|
|
242
253
|
print(f"Hexagon {hexa.hexagon} has been updated")
|
|
243
254
|
hexa.image.save(f"{hexa.hexagon}.png")
|
|
@@ -245,7 +256,7 @@ def on_update(hexa: HexagonObject):
|
|
|
245
256
|
|
|
246
257
|
# The following async code works as well
|
|
247
258
|
|
|
248
|
-
@on_hexagon_update("all")
|
|
259
|
+
@fox.on_hexagon_update("all")
|
|
249
260
|
async def on_update(hexa: HexagonObject):
|
|
250
261
|
print(f"Hexagon {hexa.hexagon} has been updated")
|
|
251
262
|
hexa.image.save(f"{hexa.hexagon}.png")
|
|
@@ -219,7 +219,7 @@ async def function(hexagon: str = "DeadLandsHex"):
|
|
|
219
219
|
# Register a callback to listen for updates on all the hexagons
|
|
220
220
|
# it will run forever don't worry
|
|
221
221
|
|
|
222
|
-
@on_hexagon_update("all")
|
|
222
|
+
@fox.on_hexagon_update("all")
|
|
223
223
|
def on_update(hexa: HexagonObject):
|
|
224
224
|
print(f"Hexagon {hexa.hexagon} has been updated")
|
|
225
225
|
hexa.image.save(f"{hexa.hexagon}.png")
|
|
@@ -227,7 +227,7 @@ def on_update(hexa: HexagonObject):
|
|
|
227
227
|
|
|
228
228
|
# The following async code works as well
|
|
229
229
|
|
|
230
|
-
@on_hexagon_update("all")
|
|
230
|
+
@fox.on_hexagon_update("all")
|
|
231
231
|
async def on_update(hexa: HexagonObject):
|
|
232
232
|
print(f"Hexagon {hexa.hexagon} has been updated")
|
|
233
233
|
hexa.image.save(f"{hexa.hexagon}.png")
|
|
@@ -96,6 +96,8 @@ class FoxAPI():
|
|
|
96
96
|
elif data.status_code == 304:
|
|
97
97
|
return APIResponse(headers=data.headers, json=self.cache.get(endpoint), status_code=data.status_code, hexagon=hexagon, is_cache=True)
|
|
98
98
|
|
|
99
|
+
return APIResponse(headers=data.headers, json={}, status_code=data.status_code, hexagon=hexagon, is_cache=False)
|
|
100
|
+
|
|
99
101
|
def get_headers_sync(self, endpoint: str):
|
|
100
102
|
with self.session.head(f"{self.base_api}{endpoint}") as data:
|
|
101
103
|
return data
|
|
@@ -131,6 +133,7 @@ class FoxAPI():
|
|
|
131
133
|
elif data.status == 304:
|
|
132
134
|
return APIResponse(headers=data.headers, json=self.cache.get(endpoint), status_code=data.status, hexagon=hexagon, is_cache=True)
|
|
133
135
|
|
|
136
|
+
return APIResponse(headers=data.headers, json=data_json, status_code=data.status, hexagon=hexagon, is_cache=False)
|
|
134
137
|
else:
|
|
135
138
|
async with session.get(f"{self.base_api}{endpoint}", headers=headers) as data:
|
|
136
139
|
self.etag[endpoint]: str = data.headers.get("ETag", self.etag.get(endpoint))
|
|
@@ -138,10 +141,12 @@ class FoxAPI():
|
|
|
138
141
|
if data.status == 200:
|
|
139
142
|
data_json = await data.json()
|
|
140
143
|
self.cache[endpoint] = data_json
|
|
141
|
-
return APIResponse(json=data_json, status_code=data.status, hexagon=hexagon, is_cache=False)
|
|
144
|
+
return APIResponse(headers=data.headers, json=data_json, status_code=data.status, hexagon=hexagon, is_cache=False)
|
|
142
145
|
|
|
143
146
|
elif data.status == 304:
|
|
144
|
-
return APIResponse(json=self.cache.get(endpoint), status_code=data.status, hexagon=hexagon, is_cache=True)
|
|
147
|
+
return APIResponse(headers=data.headers, json=self.cache.get(endpoint), status_code=data.status, hexagon=hexagon, is_cache=True)
|
|
148
|
+
|
|
149
|
+
return APIResponse(headers=data.headers, json=data_json, status_code=data.status, hexagon=hexagon, is_cache=False)
|
|
145
150
|
|
|
146
151
|
async def get_headers(self, endpoint: str):
|
|
147
152
|
async with aiohttp.ClientSession() as session:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: foxapi
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
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
|
|
@@ -15,6 +15,17 @@ Description-Content-Type: text/markdown
|
|
|
15
15
|
License-File: LICENSE
|
|
16
16
|
Requires-Dist: requests
|
|
17
17
|
Requires-Dist: pillow
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: author-email
|
|
20
|
+
Dynamic: classifier
|
|
21
|
+
Dynamic: description
|
|
22
|
+
Dynamic: description-content-type
|
|
23
|
+
Dynamic: download-url
|
|
24
|
+
Dynamic: home-page
|
|
25
|
+
Dynamic: keywords
|
|
26
|
+
Dynamic: license
|
|
27
|
+
Dynamic: requires-dist
|
|
28
|
+
Dynamic: summary
|
|
18
29
|
|
|
19
30
|
# FoxAPI Documentation
|
|
20
31
|
|
|
@@ -237,7 +248,7 @@ async def function(hexagon: str = "DeadLandsHex"):
|
|
|
237
248
|
# Register a callback to listen for updates on all the hexagons
|
|
238
249
|
# it will run forever don't worry
|
|
239
250
|
|
|
240
|
-
@on_hexagon_update("all")
|
|
251
|
+
@fox.on_hexagon_update("all")
|
|
241
252
|
def on_update(hexa: HexagonObject):
|
|
242
253
|
print(f"Hexagon {hexa.hexagon} has been updated")
|
|
243
254
|
hexa.image.save(f"{hexa.hexagon}.png")
|
|
@@ -245,7 +256,7 @@ def on_update(hexa: HexagonObject):
|
|
|
245
256
|
|
|
246
257
|
# The following async code works as well
|
|
247
258
|
|
|
248
|
-
@on_hexagon_update("all")
|
|
259
|
+
@fox.on_hexagon_update("all")
|
|
249
260
|
async def on_update(hexa: HexagonObject):
|
|
250
261
|
print(f"Hexagon {hexa.hexagon} has been updated")
|
|
251
262
|
hexa.image.save(f"{hexa.hexagon}.png")
|
|
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
|
|
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
|