pynintendoparental 2.1.0__py3-none-any.whl → 2.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- __version__ = "2.1.0"
1
+ __version__ = "2.1.2"
pynintendoparental/api.py CHANGED
@@ -61,10 +61,6 @@ class Api:
61
61
  e_point = ENDPOINTS.get(endpoint, None)
62
62
  if e_point is None:
63
63
  raise ValueError("Endpoint does not exist")
64
- # refresh the token if it has expired.
65
- if self._auth.access_token_expired:
66
- _LOGGER.debug("Access token expired, requesting refresh.")
67
- await self._auth.perform_refresh()
68
64
  # format the URL using the kwargs
69
65
  url = e_point.get("url").format(BASE_URL=BASE_URL, **kwargs)
70
66
  _LOGGER.debug("Built URL %s", url)
@@ -6,8 +6,8 @@ import logging
6
6
  _LOGGER = logging.getLogger(__package__)
7
7
  CLIENT_ID = "54789befb391a838"
8
8
  MOBILE_APP_PKG = "com.nintendo.znma"
9
- MOBILE_APP_VERSION = "2.2.0"
10
- MOBILE_APP_BUILD = "560"
9
+ MOBILE_APP_VERSION = "2.3.0"
10
+ MOBILE_APP_BUILD = "600"
11
11
  OS_NAME = "ANDROID"
12
12
  OS_VERSION = "34"
13
13
  OS_STR = f"{OS_NAME} {OS_VERSION}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pynintendoparental
3
- Version: 2.1.0
3
+ Version: 2.1.2
4
4
  Summary: A Python module to interact with Nintendo Parental Controls
5
5
  Home-page: http://github.com/pantherale0/pynintendoparental
6
6
  Author: pantherale0
@@ -1,17 +1,17 @@
1
1
  pynintendoparental/__init__.py,sha256=gO3rH9gukrFoACVkdqj_liqcgtHxSZlitE0PrVQZGok,2334
2
- pynintendoparental/_version.py,sha256=Xybt2skBZamGMNlLuOX1IG-h4uIxqUDGAO8MIGWrJac,22
3
- pynintendoparental/api.py,sha256=cVL17wmkCA4AHnVAGzMkNA-40t9M9Q7iZYNFWxu-Oa8,6534
2
+ pynintendoparental/_version.py,sha256=UiuBcRXPtXxPUBDdp0ZDvWl0U9Db1kMNfT3oAfhxqLg,22
3
+ pynintendoparental/api.py,sha256=-w2YfCa5R472ZA4cu7rEEvEjPicNNBdZu4bQfcv-SCE,6325
4
4
  pynintendoparental/application.py,sha256=8zTisF3_COgIzKCLIgLpYdHcX4OiwRQU5NH2WUngvxc,3995
5
5
  pynintendoparental/authenticator.py,sha256=WPAEAUKmIymIiQUXILYt4B2_3UgYRKEVi6btJRwzjmM,430
6
- pynintendoparental/const.py,sha256=2fq0VmqFetwLq1YBXatlb7tFaDeR0pnsdja4MLFdbDA,2174
6
+ pynintendoparental/const.py,sha256=bKfv1O-eFbzvhz0EE2Cj6Px2b5yoq8HL7itMP4TWmwo,2174
7
7
  pynintendoparental/device.py,sha256=CiW-SXYGvjsZzW10Sf1Xu0PA6hkduabpWyWPIxgzKng,25541
8
8
  pynintendoparental/enum.py,sha256=NlkfrZTfiur6vTqqwHxeiM7wPQZ-1Y1PlY4Jh_gq4NQ,605
9
9
  pynintendoparental/exceptions.py,sha256=zOGZHlBFfdcBNNWHA7t_Ix2Qgd3ON2-SVjmA9dHs578,883
10
10
  pynintendoparental/player.py,sha256=Zh3vi0IdOHtn5KW0tT9JigB315ftjQ4uEQylF3D4LWs,2084
11
11
  pynintendoparental/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  pynintendoparental/utils.py,sha256=gLMibsEOnKUZJgCQKF4Zk517fawZ3mBqMK6MS2g-Um0,199
13
- pynintendoparental-2.1.0.dist-info/licenses/LICENSE,sha256=zsxHgHVMnyWq121yND8zBl9Rl9H6EF2K9N51B2ZSm_k,1071
14
- pynintendoparental-2.1.0.dist-info/METADATA,sha256=QRICmit7uYf4V7tR4Eog2JkQcCkJoMBk32UD_xT6MbE,2125
15
- pynintendoparental-2.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
- pynintendoparental-2.1.0.dist-info/top_level.txt,sha256=QQ5bAl-Ljso16P8KLf1NHrFmKk9jLT7bVJG_rVlIXWk,19
17
- pynintendoparental-2.1.0.dist-info/RECORD,,
13
+ pynintendoparental-2.1.2.dist-info/licenses/LICENSE,sha256=zsxHgHVMnyWq121yND8zBl9Rl9H6EF2K9N51B2ZSm_k,1071
14
+ pynintendoparental-2.1.2.dist-info/METADATA,sha256=UPStKnpeSlaOmyfU6eNOvnyV7f0rWzg-oBS-6fqnE14,2125
15
+ pynintendoparental-2.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
+ pynintendoparental-2.1.2.dist-info/top_level.txt,sha256=QQ5bAl-Ljso16P8KLf1NHrFmKk9jLT7bVJG_rVlIXWk,19
17
+ pynintendoparental-2.1.2.dist-info/RECORD,,