foxapi 1.4.2__tar.gz → 1.5.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.
Files changed (183) hide show
  1. {foxapi-1.4.2 → foxapi-1.5.0}/PKG-INFO +23 -16
  2. {foxapi-1.4.2 → foxapi-1.5.0}/README.md +20 -14
  3. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/foxapi.py +131 -36
  4. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/utils.py +4 -3
  5. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi.egg-info/PKG-INFO +23 -16
  6. {foxapi-1.4.2 → foxapi-1.5.0}/setup.py +1 -1
  7. {foxapi-1.4.2 → foxapi-1.5.0}/LICENSE +0 -0
  8. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/10.png +0 -0
  9. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/11.png +0 -0
  10. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/11COLONIALS.png +0 -0
  11. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/11WARDENS.png +0 -0
  12. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/12.png +0 -0
  13. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/12COLONIALS.png +0 -0
  14. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/12WARDENS.png +0 -0
  15. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/13.png +0 -0
  16. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/14.png +0 -0
  17. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/15.png +0 -0
  18. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/16.png +0 -0
  19. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/17.png +0 -0
  20. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/17COLONIALS.png +0 -0
  21. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/17WARDENS.png +0 -0
  22. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/18.png +0 -0
  23. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/18COLONIALS.png +0 -0
  24. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/18WARDENS.png +0 -0
  25. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/19.png +0 -0
  26. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/19COLONIALS.png +0 -0
  27. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/19WARDENS.png +0 -0
  28. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/20.png +0 -0
  29. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/21.png +0 -0
  30. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/22.png +0 -0
  31. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/23.png +0 -0
  32. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/27.png +0 -0
  33. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/27COLONIALS.png +0 -0
  34. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/27WARDENS.png +0 -0
  35. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/28.png +0 -0
  36. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/28COLONIALS.png +0 -0
  37. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/28WARDENS.png +0 -0
  38. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/29.png +0 -0
  39. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/29COLONIALS.png +0 -0
  40. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/29WARDENS.png +0 -0
  41. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/30.png +0 -0
  42. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/30COLONIALS.png +0 -0
  43. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/30WARDENS.png +0 -0
  44. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/32.png +0 -0
  45. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/33.png +0 -0
  46. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/33COLONIALS.png +0 -0
  47. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/33WARDENS.png +0 -0
  48. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/34.png +0 -0
  49. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/34COLONIALS.png +0 -0
  50. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/34WARDENS.png +0 -0
  51. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/35.png +0 -0
  52. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/35COLONIALS.png +0 -0
  53. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/35WARDENS.png +0 -0
  54. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/37.png +0 -0
  55. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/37COLONIALS.png +0 -0
  56. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/37WARDENS.png +0 -0
  57. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/38.png +0 -0
  58. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/39.png +0 -0
  59. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/39COLONIALS.png +0 -0
  60. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/39WARDENS.png +0 -0
  61. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/40.png +0 -0
  62. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/41.png +0 -0
  63. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/45.png +0 -0
  64. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/45COLONIALS.png +0 -0
  65. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/45WARDENS.png +0 -0
  66. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/46.png +0 -0
  67. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/46COLONIALS.png +0 -0
  68. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/46WARDENS.png +0 -0
  69. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/47.png +0 -0
  70. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/47COLONIALS.png +0 -0
  71. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/47WARDENS.png +0 -0
  72. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/5.png +0 -0
  73. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/51.png +0 -0
  74. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/51COLONIALS.png +0 -0
  75. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/51WARDENS.png +0 -0
  76. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/52.png +0 -0
  77. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/52COLONIALS.png +0 -0
  78. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/52WARDENS.png +0 -0
  79. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/53.png +0 -0
  80. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/53COLONIALS.png +0 -0
  81. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/53WARDENS.png +0 -0
  82. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/54.png +0 -0
  83. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/56.png +0 -0
  84. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/56COLONIALS.png +0 -0
  85. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/56WARDENS.png +0 -0
  86. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/57.png +0 -0
  87. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/57COLONIALS.png +0 -0
  88. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/57WARDENS.png +0 -0
  89. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/58.png +0 -0
  90. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/58COLONIALS.png +0 -0
  91. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/58WARDENS.png +0 -0
  92. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/59COLONIALS.png +0 -0
  93. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/59WARDENS.png +0 -0
  94. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/5COLONIALS.png +0 -0
  95. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/5WARDENS.png +0 -0
  96. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/6.png +0 -0
  97. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/60COLONIALS.png +0 -0
  98. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/60WARDENS.png +0 -0
  99. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/61.png +0 -0
  100. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/62.png +0 -0
  101. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/6COLONIALS.png +0 -0
  102. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/6WARDENS.png +0 -0
  103. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/7.png +0 -0
  104. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/75.png +0 -0
  105. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/75COLONIALS.png +0 -0
  106. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/75WARDENS.png +0 -0
  107. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/7COLONIALS.png +0 -0
  108. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/7WARDENS.png +0 -0
  109. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/8.png +0 -0
  110. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/84COLONIALS.png +0 -0
  111. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/84WARDENS.png +0 -0
  112. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/8COLONIALS.png +0 -0
  113. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/8WARDENS.png +0 -0
  114. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/9.png +0 -0
  115. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/9COLONIALS.png +0 -0
  116. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/9WARDENS.png +0 -0
  117. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/DebugIcon.png +0 -0
  118. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconCivicCenter.png +0 -0
  119. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconCoalFieldColor.png +0 -0
  120. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconFortCursed.png +0 -0
  121. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconHomeBaseHallColonial.png +0 -0
  122. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconHomeBaseHallWarden.png +0 -0
  123. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconOilFieldColor.png +0 -0
  124. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconSafehouse.png +0 -0
  125. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconScorchedTown.png +0 -0
  126. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconSulfurColor.png +0 -0
  127. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconTownHall.png +0 -0
  128. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconTownHallColonial.png +0 -0
  129. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconTownHallWarden.png +0 -0
  130. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconVictory.png +0 -0
  131. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconVictoryColonial.png +0 -0
  132. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapIcons/MapIconVictoryWarden.png +0 -0
  133. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapAcrithiaHex.png +0 -0
  134. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapAllodsBightHex.png +0 -0
  135. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapAshFieldsHex.png +0 -0
  136. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapBasinSionnachHex.png +0 -0
  137. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapCallahansPassageHex.png +0 -0
  138. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapCallumsCapeHex.png +0 -0
  139. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapClahstraHex.png +0 -0
  140. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapClansheadValleyHex.png +0 -0
  141. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapDeadLandsHex.png +0 -0
  142. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapDrownedValeHex.png +0 -0
  143. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapEndlessShoreHex.png +0 -0
  144. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapFarranacCoastHex.png +0 -0
  145. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapFishermansRowHex.png +0 -0
  146. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapGodcroftsHex.png +0 -0
  147. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapGreatMarchHex.png +0 -0
  148. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapHeartlandsHex.png +0 -0
  149. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapHomeRegionC.png +0 -0
  150. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapHomeRegionW.png +0 -0
  151. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapHowlCountyHex.png +0 -0
  152. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapKalokaiHex.png +0 -0
  153. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapKingsCageHex.png +0 -0
  154. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapLinnMercyHex.png +0 -0
  155. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapLochMorHex.png +0 -0
  156. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapMarbanHollow.png +0 -0
  157. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapMooringCountyHex.png +0 -0
  158. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapMorgensCrossingHex.png +0 -0
  159. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapNevishLineHex.png +0 -0
  160. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapOarbreakerHex.png +0 -0
  161. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapOriginHex.png +0 -0
  162. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapReachingTrailHex.png +0 -0
  163. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapReaversPassHex.png +0 -0
  164. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapRedRiverHex.png +0 -0
  165. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapSableportHex.png +0 -0
  166. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapShackledChasmHex.png +0 -0
  167. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapSpeakingWoodsHex.png +0 -0
  168. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapStemaLandingHex.png +0 -0
  169. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapStlicanShelfHex.png +0 -0
  170. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapStonecradleHex.png +0 -0
  171. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapTempestIslandHex.png +0 -0
  172. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapTerminusHex.png +0 -0
  173. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapTheFingersHex.png +0 -0
  174. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapUmbralWildwoodHex.png +0 -0
  175. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapViperPitHex.png +0 -0
  176. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapWeatheredExpanseHex.png +0 -0
  177. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/Images/MapsHex/MapWestgateHex.png +0 -0
  178. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi/__init__.py +0 -0
  179. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi.egg-info/SOURCES.txt +0 -0
  180. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi.egg-info/dependency_links.txt +0 -0
  181. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi.egg-info/requires.txt +0 -0
  182. {foxapi-1.4.2 → foxapi-1.5.0}/foxapi.egg-info/top_level.txt +0 -0
  183. {foxapi-1.4.2 → foxapi-1.5.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: foxapi
3
- Version: 1.4.2
3
+ Version: 1.5.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
@@ -25,6 +25,7 @@ Dynamic: download-url
25
25
  Dynamic: home-page
26
26
  Dynamic: keywords
27
27
  Dynamic: license
28
+ Dynamic: license-file
28
29
  Dynamic: requires-dist
29
30
  Dynamic: summary
30
31
 
@@ -44,16 +45,22 @@ Also, if you work with discord.py or any asynchronous API, this tool might be us
44
45
 
45
46
 
46
47
  ## Table of Contents
47
- - [Dependencies](#dependencies)
48
- - [Wrapper](#wrapper)
49
- - [Methods](#methods)
50
- - [Map and War Data](#map-and-war-data)
51
- - [Hexagon Operations](#hexagon-operations)
52
- - [Listener Functions](#listener-functions)
53
- - [Queue Tasks](#queue-tasks)
54
- - [Error Handling](#error-handling)
55
- - [Objects](#objects)
56
- - [Example Usage](#example-usage)
48
+ - [FoxAPI Documentation](#foxapi-documentation)
49
+ - [Installation](#installation)
50
+ - [Table of Contents](#table-of-contents)
51
+ - [Dependencies](#dependencies)
52
+ - [Wrapper](#wrapper)
53
+ - [Methods](#methods)
54
+ - [API Interaction (async)](#api-interaction-async)
55
+ - [Note : all of theses methods are async, to run the synchronous version, add \_sync at the end (see API example)](#note--all-of-theses-methods-are-async-to-run-the-synchronous-version-add-_sync-at-the-end-see-api-example)
56
+ - [Map and War Data](#map-and-war-data)
57
+ - [Hexagon Operations](#hexagon-operations)
58
+ - [Listener Functions](#listener-functions)
59
+ - [Queue Tasks](#queue-tasks)
60
+ - [Error Handling](#error-handling)
61
+ - [Objects](#objects)
62
+ - [Example Usage](#example-usage)
63
+ - [I am not responsible for what you are doing with it](#i-am-not-responsible-for-what-you-are-doing-with-it)
57
64
 
58
65
  ## Dependencies
59
66
 
@@ -140,10 +147,11 @@ load_hexagon_map(hexagon: str) -> pillow.Image
140
147
  - Loads the PNG map for the specified hexagon.
141
148
 
142
149
  ```py
143
- make_map_png(hexagon: str, dynamic: dict = None, static: dict = None) -> pillow.Image
150
+ make_map_png(hexagon: str, colored: bool = False, show_icons: bool = True, dynamic: dict = None, static: dict = None) -> pillow.Image
144
151
  ```
145
152
  - Generates a PNG image of the hexagon map with all the icons associated to each faction in their respective colors (included fields and town base). Only public data will be present.
146
-
153
+ - colored -> display each region in the team's color
154
+ - show_icons -> display every building in their team's color
147
155
 
148
156
  ```py
149
157
  calculate_death_rate(hexagon: str = None, war_report: dict = None): -> dict
@@ -226,14 +234,13 @@ class APIResponse:
226
234
 
227
235
 
228
236
  class HexagonObject:
229
- def __init__(self, hexagon: str, war_report: dict, static: dict, dynamic: dict, captured_towns: dict, casualty_rate: dict, image: pillow.Image):
237
+ def __init__(self, hexagon: str, war_report: dict, static: dict, dynamic: dict, captured_towns: dict, casualty_rate: dict):
230
238
  self.hexagon: str = hexagon
231
239
  self.war_report: dict = war_report
232
240
  self.static: dict = static
233
241
  self.dynamic: dict = dynamic
234
242
  self.captured_towns: dict = captured_towns
235
243
  self.casualty_rate: dict = casualty_rate
236
- self.image: pillow.Image = image
237
244
  ```
238
245
 
239
246
 
@@ -14,16 +14,22 @@ Also, if you work with discord.py or any asynchronous API, this tool might be us
14
14
 
15
15
 
16
16
  ## Table of Contents
17
- - [Dependencies](#dependencies)
18
- - [Wrapper](#wrapper)
19
- - [Methods](#methods)
20
- - [Map and War Data](#map-and-war-data)
21
- - [Hexagon Operations](#hexagon-operations)
22
- - [Listener Functions](#listener-functions)
23
- - [Queue Tasks](#queue-tasks)
24
- - [Error Handling](#error-handling)
25
- - [Objects](#objects)
26
- - [Example Usage](#example-usage)
17
+ - [FoxAPI Documentation](#foxapi-documentation)
18
+ - [Installation](#installation)
19
+ - [Table of Contents](#table-of-contents)
20
+ - [Dependencies](#dependencies)
21
+ - [Wrapper](#wrapper)
22
+ - [Methods](#methods)
23
+ - [API Interaction (async)](#api-interaction-async)
24
+ - [Note : all of theses methods are async, to run the synchronous version, add \_sync at the end (see API example)](#note--all-of-theses-methods-are-async-to-run-the-synchronous-version-add-_sync-at-the-end-see-api-example)
25
+ - [Map and War Data](#map-and-war-data)
26
+ - [Hexagon Operations](#hexagon-operations)
27
+ - [Listener Functions](#listener-functions)
28
+ - [Queue Tasks](#queue-tasks)
29
+ - [Error Handling](#error-handling)
30
+ - [Objects](#objects)
31
+ - [Example Usage](#example-usage)
32
+ - [I am not responsible for what you are doing with it](#i-am-not-responsible-for-what-you-are-doing-with-it)
27
33
 
28
34
  ## Dependencies
29
35
 
@@ -110,10 +116,11 @@ load_hexagon_map(hexagon: str) -> pillow.Image
110
116
  - Loads the PNG map for the specified hexagon.
111
117
 
112
118
  ```py
113
- make_map_png(hexagon: str, dynamic: dict = None, static: dict = None) -> pillow.Image
119
+ make_map_png(hexagon: str, colored: bool = False, show_icons: bool = True, dynamic: dict = None, static: dict = None) -> pillow.Image
114
120
  ```
115
121
  - Generates a PNG image of the hexagon map with all the icons associated to each faction in their respective colors (included fields and town base). Only public data will be present.
116
-
122
+ - colored -> display each region in the team's color
123
+ - show_icons -> display every building in their team's color
117
124
 
118
125
  ```py
119
126
  calculate_death_rate(hexagon: str = None, war_report: dict = None): -> dict
@@ -196,14 +203,13 @@ class APIResponse:
196
203
 
197
204
 
198
205
  class HexagonObject:
199
- def __init__(self, hexagon: str, war_report: dict, static: dict, dynamic: dict, captured_towns: dict, casualty_rate: dict, image: pillow.Image):
206
+ def __init__(self, hexagon: str, war_report: dict, static: dict, dynamic: dict, captured_towns: dict, casualty_rate: dict):
200
207
  self.hexagon: str = hexagon
201
208
  self.war_report: dict = war_report
202
209
  self.static: dict = static
203
210
  self.dynamic: dict = dynamic
204
211
  self.captured_towns: dict = captured_towns
205
212
  self.casualty_rate: dict = casualty_rate
206
- self.image: pillow.Image = image
207
213
  ```
208
214
 
209
215
 
@@ -3,8 +3,8 @@ try:
3
3
  except ImportError:
4
4
  from utils import HexagonObject, FoxAPIError, HexagonError, EndpointError, APIResponse, Task
5
5
 
6
- from pathlib import Path
7
6
  from PIL import Image
7
+ from pathlib import Path
8
8
  import threading
9
9
  import requests
10
10
  import aiohttp
@@ -69,6 +69,9 @@ class FoxAPI():
69
69
 
70
70
  self._icon_size: tuple = (24, 24)
71
71
 
72
+ self.img_height: int = 888
73
+ self.img_width: int = 1024
74
+
72
75
  def close_session(self):
73
76
  self.session.close()
74
77
 
@@ -129,6 +132,7 @@ class FoxAPI():
129
132
  async with session.get(f"{self.base_api}{endpoint}", headers=headers) as data:
130
133
  self.etag[endpoint]: str = data.headers.get("ETag", self.etag.get(endpoint))
131
134
  data_json = await data.json()
135
+
132
136
  if data.status == 200:
133
137
  self.cache[endpoint] = data_json
134
138
  return APIResponse(headers=data.headers, json=data_json, status_code=data.status, hexagon=hexagon, is_cache=False)
@@ -200,8 +204,20 @@ class FoxAPI():
200
204
 
201
205
  return endpoint
202
206
 
203
- def calc_distance(self, x1: float, y1: float, x2: float, y2: float):
204
- return math.sqrt((abs(x1 - x2) ** 2) + (abs(y1 - y2) ** 2))
207
+ def calc_distance(self, p1: tuple, p2: tuple):
208
+ return math.sqrt((abs(p1[0] - p2[0]) ** 2) + (abs(p1[1] - p2[1]) ** 2))
209
+
210
+ def bissectrice(self, p1: tuple, p2: tuple):
211
+ mx, my = (p1[0] + p2[0]) / 2, (p1[1] + p2[1]) / 2
212
+
213
+ dx, dy = p2[0] - p1[0], p2[1] - p1[1]
214
+
215
+ if dx != 0:
216
+ slope = -dy / dx
217
+ intercept = my - slope * mx
218
+ return slope, intercept
219
+ else:
220
+ return None, mx
205
221
 
206
222
  def load_hexagon_map(self, hexagon: str):
207
223
  if self._safe_mode:
@@ -211,6 +227,69 @@ class FoxAPI():
211
227
 
212
228
  return Image.open(img_path).convert("RGBA")
213
229
 
230
+ def change_color(self, image: Image, team: str = None) -> Image:
231
+ if team == "COLONIAL":
232
+ mycolor2: tuple = (101, 135, 94)
233
+
234
+ elif team == "WARDEN":
235
+ mycolor2: tuple = (45, 108, 161)
236
+
237
+ else:
238
+ return image
239
+
240
+ width, height = image.size
241
+ colortuples = image.getcolors()
242
+
243
+ mycolor1: tuple = min(colortuples)[1]
244
+
245
+
246
+ pix = image.load()
247
+
248
+ for x in range(0, width):
249
+ for y in range(0, height):
250
+ if pix[x, y] == mycolor1:
251
+ image.putpixel((x, y), mycolor2)
252
+
253
+ return image
254
+
255
+ def color_regions(self, image: Image, dynamic: dict, static: dict) -> Image:
256
+ captured_towns: dict = self.get_captured_towns_sync(dynamic=dynamic, static=static)
257
+ map_info = [data for data in static["mapTextItems"] if data["mapMarkerType"] == "Major"]
258
+
259
+ for i in range(len(map_info)):
260
+ map_info[i]["team"] = captured_towns[map_info[i]["text"]]
261
+
262
+ points = [(p["x"] * self.img_width, p["y"] * self.img_height, p["team"]) for p in map_info]
263
+
264
+ for y in range(self.img_height):
265
+ for x in range(self.img_width):
266
+ current_pixel = image.getpixel((x, y))
267
+
268
+ if current_pixel[3] <= 10:
269
+ continue
270
+
271
+ closest_point_index = None
272
+ min_distance = float('inf')
273
+
274
+ for i, point in enumerate(points):
275
+ distance = math.sqrt((x - point[0])**2 + (y - point[1])**2)
276
+
277
+ if distance < min_distance:
278
+ min_distance = distance
279
+ closest_point_index = i
280
+
281
+ if points[closest_point_index][2] == "COLONIALS":
282
+ color: tuple = (50, 66, 47)
283
+
284
+ elif points[closest_point_index][2] == "WARDENS":
285
+ color: tuple = (22, 54, 80)
286
+
287
+ else:
288
+ continue
289
+
290
+ new_color: tuple = (current_pixel[0]//2 + color[0], current_pixel[1]//2 + color[1], current_pixel[2]//2 + color[2])
291
+ image.putpixel((x, y), new_color)
292
+
214
293
  """
215
294
  ASYNC METHODS
216
295
  """
@@ -267,37 +346,44 @@ class FoxAPI():
267
346
  for d in dynamic['mapItems']:
268
347
  if d['iconType'] in icons:
269
348
  faction.append(d['teamId'])
270
- deltas.append(self.calc_distance(s['x'], s['y'], d['x'], d['y']))
349
+ deltas.append(self.calc_distance((s['x'], s['y']), (d['x'], d['y'])))
271
350
 
272
351
  captured_towns[s['text']]: str = faction[deltas.index(min(deltas))]
273
352
 
274
353
  return captured_towns
275
354
 
276
- async def make_map_png(self, hexagon: str, dynamic: dict = None, static: dict = None):
355
+ async def make_map_png(self, hexagon: str, colored: bool = False, show_icons: bool = True, dynamic: dict = None, static: dict = None):
277
356
  if dynamic is None:
278
- dynamic: dict = await self.get_dynamic(hexagon)
357
+ dynamic: dict = await self.get_dynamic(hexagon=hexagon)
358
+
359
+ if static is None:
360
+ static: dict = await self.get_static(hexagon=hexagon, use_cache=True)
279
361
 
280
362
  if dynamic is None:
281
363
  raise FoxAPIError("Please pass the required parameters (hexagon or dynamic (static is optional))")
282
364
 
283
- img1 = self.load_hexagon_map(hexagon)
365
+ img1: Image = self.load_hexagon_map(hexagon)
284
366
  icon_size: tuple = self._icon_size
285
367
 
286
- for data in dynamic["mapItems"]:
287
- image: str = data['iconType']
288
- team: str = data["teamId"].strip()
368
+ if colored:
369
+ self.color_regions(image=img1, dynamic=dynamic, static=static)
370
+
371
+ if show_icons:
372
+ for data in dynamic["mapItems"]:
373
+ image: str = data['iconType']
374
+ team: str = data["teamId"].strip()
289
375
 
290
- try:
291
- img_path: str = os.path.join(self._img_dir, "MapIcons", f"{image}{team}.png")
292
- img2 = Image.open(img_path).convert("RGBA").resize(icon_size)
293
- except Exception:
294
376
  try:
295
- img_path: str = os.path.join(self._img_dir, "MapIcons", f"{image}.png")
377
+ img_path: str = os.path.join(self._img_dir, "MapIcons", f"{image}{team}.png")
296
378
  img2 = Image.open(img_path).convert("RGBA").resize(icon_size)
297
379
  except Exception:
298
- continue
380
+ try:
381
+ img_path: str = os.path.join(self._img_dir, "MapIcons", f"{image}.png")
382
+ img2 = Image.open(img_path).convert("RGBA").resize(icon_size)
383
+ except Exception:
384
+ continue
299
385
 
300
- img1.paste(img2, (int(data["x"] * 1024), int(data["y"] * 888)), mask=img2)
386
+ img1.paste(img2, (int(data["x"] * self.img_width), int(data["y"] * self.img_height)), mask=img2)
301
387
 
302
388
  return img1
303
389
 
@@ -331,9 +417,7 @@ class FoxAPI():
331
417
 
332
418
  captured_towns: dict = await self.get_captured_towns(dynamic=dynamic, static=static)
333
419
  casualty_rate: dict = await self.calculate_death_rate(hexagon=hexagon, war_report=war_report)
334
- image = await self.make_map_png(hexagon=hexagon, dynamic=dynamic, static=static)
335
-
336
- return HexagonObject(hexagon=hexagon, war_report=war_report, static=static, dynamic=dynamic, captured_towns=captured_towns, casualty_rate=casualty_rate, image=image)
420
+ return HexagonObject(hexagon=hexagon, war_report=war_report, static=static, dynamic=dynamic, captured_towns=captured_towns, casualty_rate=casualty_rate)
337
421
 
338
422
  """
339
423
  SYNC METHODS
@@ -386,37 +470,49 @@ class FoxAPI():
386
470
  for d in dynamic['mapItems']:
387
471
  if d['iconType'] in icons:
388
472
  faction.append(d['teamId'])
389
- deltas.append(self.calc_distance(s['x'], s['y'], d['x'], d['y']))
473
+ deltas.append(self.calc_distance((s['x'], s['y']), (d['x'], d['y'])))
390
474
 
391
475
  captured_towns[s['text']]: str = faction[deltas.index(min(deltas))]
392
476
 
393
477
  return captured_towns
394
478
 
395
- def make_map_png_sync(self, hexagon: str, dynamic: dict = None, static: dict = None):
479
+ def make_map_png_sync(self, hexagon: str, colored: bool = False, show_icons: bool = True, dynamic: dict = None, static: dict = None):
396
480
  if dynamic is None:
397
- dynamic: dict = self.get_dynamic_sync(hexagon)
481
+ dynamic: dict = self.get_dynamic_sync(hexagon=hexagon)
482
+
483
+ if static is None:
484
+ static: dict = self.get_static_sync(hexagon=hexagon, use_cache=True)
398
485
 
399
486
  if dynamic is None:
400
487
  raise FoxAPIError("Please pass the required parameters (hexagon or dynamic (static is optional))")
401
488
 
402
- img1 = self.load_hexagon_map(hexagon)
489
+ img1: Image = self.load_hexagon_map(hexagon)
403
490
  icon_size: tuple = self._icon_size
491
+
492
+ if colored:
493
+ self.color_regions(image=img1, dynamic=dynamic, static=static)
404
494
 
405
- for data in dynamic["mapItems"]:
406
- image: str = data['iconType']
407
- team: str = data["teamId"].strip()
495
+ if show_icons:
496
+ for data in dynamic["mapItems"]:
497
+ image: str = data['iconType']
498
+ team: str = data["teamId"].strip()
408
499
 
409
- try:
410
- img_path: str = os.path.join(self._img_dir, "MapIcons", f"{image}{team}.png")
411
- img2 = Image.open(img_path).convert("RGBA").resize(icon_size)
412
- except Exception:
413
500
  try:
414
- img_path: str = os.path.join(self._img_dir, "MapIcons", f"{image}.png")
501
+ img_path: str = os.path.join(self._img_dir, "MapIcons", f"{image}{team}.png")
415
502
  img2 = Image.open(img_path).convert("RGBA").resize(icon_size)
503
+
416
504
  except Exception:
417
- continue
505
+ try:
506
+ img_path: str = os.path.join(self._img_dir, "MapIcons", f"{image}.png")
507
+ img2 = Image.open(img_path).convert("RGBA").resize(icon_size)
508
+
509
+ img2 = self.change_color(image=img2, team=team)
510
+
511
+ except Exception:
512
+ img_path: str = os.path.join(self._img_dir, "MapIcons", f"DebugIcon.png")
513
+ img2 = Image.open(img_path).convert("RGBA").resize(icon_size)
418
514
 
419
- img1.paste(img2, (int(data["x"] * 1024), int(data["y"] * 888)), mask=img2)
515
+ img1.paste(img2, (int(data["x"] * self.img_width), int(data["y"] * self.img_height)), mask=img2)
420
516
 
421
517
  return img1
422
518
 
@@ -453,9 +549,8 @@ class FoxAPI():
453
549
 
454
550
  captured_towns: dict = self.get_captured_towns_sync(dynamic=dynamic, static=static)
455
551
  casualty_rate: dict = self.calculate_death_rate_sync(hexagon=hexagon, war_report=war_report)
456
- image = self.make_map_png_sync(hexagon=hexagon, dynamic=dynamic, static=static)
457
552
 
458
- return HexagonObject(hexagon=hexagon, war_report=war_report, static=static, dynamic=dynamic, captured_towns=captured_towns, casualty_rate=casualty_rate, image=image)
553
+ return HexagonObject(hexagon=hexagon, war_report=war_report, static=static, dynamic=dynamic, captured_towns=captured_towns, casualty_rate=casualty_rate)
459
554
 
460
555
  """
461
556
  CRAWLER ASYNC
@@ -53,7 +53,9 @@ _images_relations: dict = {
53
53
  "70": "RocketTarget",
54
54
  "71": "RocketGroundZero",
55
55
  "72": "RocketSiteWithRocket",
56
- "75": "FacilityMineOilRig"
56
+ "75": "FacilityMineOilRig",
57
+ "83": "WeatherStation",
58
+ "84": "MortarHouse"
57
59
  }
58
60
 
59
61
  class EndpointError(Exception):
@@ -85,14 +87,13 @@ class APIResponse:
85
87
 
86
88
 
87
89
  class HexagonObject:
88
- def __init__(self, hexagon: str, war_report: dict, static: dict, dynamic: dict, captured_towns: dict, casualty_rate: dict, image):
90
+ def __init__(self, hexagon: str, war_report: dict, static: dict, dynamic: dict, captured_towns: dict, casualty_rate: dict):
89
91
  self.hexagon: str = hexagon
90
92
  self.war_report: dict = war_report
91
93
  self.static: dict = static
92
94
  self.dynamic: dict = dynamic
93
95
  self.captured_towns: dict = captured_towns
94
96
  self.casualty_rate: dict = casualty_rate
95
- self.image = image
96
97
 
97
98
 
98
99
  class FoxObject:
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: foxapi
3
- Version: 1.4.2
3
+ Version: 1.5.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
@@ -25,6 +25,7 @@ Dynamic: download-url
25
25
  Dynamic: home-page
26
26
  Dynamic: keywords
27
27
  Dynamic: license
28
+ Dynamic: license-file
28
29
  Dynamic: requires-dist
29
30
  Dynamic: summary
30
31
 
@@ -44,16 +45,22 @@ Also, if you work with discord.py or any asynchronous API, this tool might be us
44
45
 
45
46
 
46
47
  ## Table of Contents
47
- - [Dependencies](#dependencies)
48
- - [Wrapper](#wrapper)
49
- - [Methods](#methods)
50
- - [Map and War Data](#map-and-war-data)
51
- - [Hexagon Operations](#hexagon-operations)
52
- - [Listener Functions](#listener-functions)
53
- - [Queue Tasks](#queue-tasks)
54
- - [Error Handling](#error-handling)
55
- - [Objects](#objects)
56
- - [Example Usage](#example-usage)
48
+ - [FoxAPI Documentation](#foxapi-documentation)
49
+ - [Installation](#installation)
50
+ - [Table of Contents](#table-of-contents)
51
+ - [Dependencies](#dependencies)
52
+ - [Wrapper](#wrapper)
53
+ - [Methods](#methods)
54
+ - [API Interaction (async)](#api-interaction-async)
55
+ - [Note : all of theses methods are async, to run the synchronous version, add \_sync at the end (see API example)](#note--all-of-theses-methods-are-async-to-run-the-synchronous-version-add-_sync-at-the-end-see-api-example)
56
+ - [Map and War Data](#map-and-war-data)
57
+ - [Hexagon Operations](#hexagon-operations)
58
+ - [Listener Functions](#listener-functions)
59
+ - [Queue Tasks](#queue-tasks)
60
+ - [Error Handling](#error-handling)
61
+ - [Objects](#objects)
62
+ - [Example Usage](#example-usage)
63
+ - [I am not responsible for what you are doing with it](#i-am-not-responsible-for-what-you-are-doing-with-it)
57
64
 
58
65
  ## Dependencies
59
66
 
@@ -140,10 +147,11 @@ load_hexagon_map(hexagon: str) -> pillow.Image
140
147
  - Loads the PNG map for the specified hexagon.
141
148
 
142
149
  ```py
143
- make_map_png(hexagon: str, dynamic: dict = None, static: dict = None) -> pillow.Image
150
+ make_map_png(hexagon: str, colored: bool = False, show_icons: bool = True, dynamic: dict = None, static: dict = None) -> pillow.Image
144
151
  ```
145
152
  - Generates a PNG image of the hexagon map with all the icons associated to each faction in their respective colors (included fields and town base). Only public data will be present.
146
-
153
+ - colored -> display each region in the team's color
154
+ - show_icons -> display every building in their team's color
147
155
 
148
156
  ```py
149
157
  calculate_death_rate(hexagon: str = None, war_report: dict = None): -> dict
@@ -226,14 +234,13 @@ class APIResponse:
226
234
 
227
235
 
228
236
  class HexagonObject:
229
- def __init__(self, hexagon: str, war_report: dict, static: dict, dynamic: dict, captured_towns: dict, casualty_rate: dict, image: pillow.Image):
237
+ def __init__(self, hexagon: str, war_report: dict, static: dict, dynamic: dict, captured_towns: dict, casualty_rate: dict):
230
238
  self.hexagon: str = hexagon
231
239
  self.war_report: dict = war_report
232
240
  self.static: dict = static
233
241
  self.dynamic: dict = dynamic
234
242
  self.captured_towns: dict = captured_towns
235
243
  self.casualty_rate: dict = casualty_rate
236
- self.image: pillow.Image = image
237
244
  ```
238
245
 
239
246
 
@@ -6,7 +6,7 @@ with open("README.md", "r") as stream:
6
6
 
7
7
  setup(
8
8
  name='foxapi',
9
- version="1.4.2",
9
+ version="1.5.0",
10
10
  url='https://github.com/ThePhoenix78/FoxAPI',
11
11
  download_url='https://github.com/ThePhoenix78/FoxAPI/tarball/master',
12
12
  license='MIT',
File without changes