Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fedecalendino committed Jul 8, 2023
1 parent 1d2d4a6 commit 6c16d94
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion nintendeals/noe/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ def game_info(nsuid: str) -> Optional[Game]:
- AMIIBO
- DEMO
- DLC
- NSO_REQUIRED
- GAME_VOUCHER
- ONLINE_PLAY
- SAVE_DATA_CLOUD
- VOICE_CHAT
Expand Down
3 changes: 2 additions & 1 deletion nintendeals/noe/listing.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def list_switch_games() -> Iterator[Game]:
* AMIIBO
* DEMO
* DLC
* NSO_REQUIRED
* GAME_VOUCHER
* ONLINE_PLAY
* SAVE_DATA_CLOUD
* VOICE_CHAT
Expand Down
3 changes: 2 additions & 1 deletion nintendeals/noe/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def search_switch_games(query: str) -> Iterator[Game]:
* AMIIBO
* DEMO
* DLC
* NSO_REQUIRED
* GAME_VOUCHER
* ONLINE_PLAY
* SAVE_DATA_CLOUD
* VOICE_CHAT
Expand Down
1 change: 1 addition & 0 deletions nintendeals/noe/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def build_game(data: Dict) -> Game:
Features.AMIIBO: data.get("near_field_comm_b", False),
Features.DEMO: data.get("demo_availability", False),
Features.DLC: data.get("add_on_content_b", False),
Features.GAME_VOUCHER: data.get("switch_game_voucher_b", False),
Features.ONLINE_PLAY: data.get("paid_subscription_required_b", False),
Features.SAVE_DATA_CLOUD: data.get("cloud_saves_b", False),
Features.VOICE_CHAT: data.get("voice_chat_b", False),
Expand Down
2 changes: 1 addition & 1 deletion nintendeals/noj/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def game_info(nsuid: str) -> Optional[Game]:
* Nintendo Switch
- AMIIBO
- DLC
- NSO_REQUIRED
- ONLINE_PLAY
Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion nintendeals/noj/listing.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def list_switch_games() -> Iterator[Game]:
------------------
* AMIIBO
* DLC
* NSO_REQUIRED
* ONLINE_PLAY
Yields
-------
Expand Down
2 changes: 1 addition & 1 deletion nintendeals/noj/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def search_switch_games(query: str) -> Iterator[Game]:
------------------
* AMIIBO
* DLC
* NSO_REQUIRED
* ONLINE_PLAY
Parameters
----------
Expand Down
2 changes: 0 additions & 2 deletions tests/test_noa/test_api/test_algolia.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,5 @@ def test_search_by_platform(self, platform, nsuid_prefix, playable_on):
if index > LIMIT:
break

print(data)

self.assertIn(nsuid_prefix, data.get("nsuid"))
self.assertIn(playable_on, data.get("platform"))

0 comments on commit 6c16d94

Please sign in to comment.