Skip to main content
Ctrl+K
PSNAWP - Home

The PSNAWP class

  • psnawp_api.psnawp module

PSNAWP Modules

  • psnawp_api package
    • psnawp_api.core package
      • psnawp_api.core.authenticator module
      • psnawp_api.core.psnawp_exceptions module
      • psnawp_api.core.request_builder module
    • psnawp_api.models package
      • psnawp_api.models.group package
        • psnawp_api.models.group.group module
        • psnawp_api.models.group.group_datatypes module
      • psnawp_api.models.listing package
        • psnawp_api.models.listing.pagination_iterator module
      • psnawp_api.models.search package
        • psnawp_api.models.search.games_search module
        • psnawp_api.models.search.games_search_datatypes module
        • psnawp_api.models.search.universal_search module
        • psnawp_api.models.search.users_result_datatypes module
        • psnawp_api.models.search.users_search module
      • psnawp_api.models.trophies package
        • psnawp_api.models.trophies.trophy module
        • psnawp_api.models.trophies.trophy_constants module
        • psnawp_api.models.trophies.trophy_group module
        • psnawp_api.models.trophies.trophy_summary module
        • psnawp_api.models.trophies.trophy_titles module
        • psnawp_api.models.trophies.trophy_utils module
      • psnawp_api.models.client module
      • psnawp_api.models.game_entitlements module
      • psnawp_api.models.game_title module
      • psnawp_api.models.title_stats module
      • psnawp_api.models.user module
    • psnawp_api.utils package
      • psnawp_api.utils.endpoints module
      • psnawp_api.utils.misc module
    • psnawp_api.psnawp module

Additional Resources:

  • Readme
  • Authors
  • Licenses
  • .rst

psnawp_api.models.search.universal_search module

Contents

  • UniversalSearch
    • UniversalSearch.__init__()
    • UniversalSearch.search_game()
    • UniversalSearch.search_user()

psnawp_api.models.search.universal_search module#

Provides Universal Search Class to search the Playstation network.

class UniversalSearch(authenticator: Authenticator, pagination_args: PaginationArguments, search_query: str)[source]#

Bases: object

A class to interact with the PlayStation Universal Search endpoint.

The UniversalSearch class allows querying the PlayStation API to search for video games, add-ons, and other users. It constructs the necessary parameters and handles pagination for performing the search.

Variables:
  • authenticator (Authenticator) – An instance of Authenticator used to authenticate and make HTTPS requests.

  • pagination_args (PaginationArguments) – Pagination-specific arguments, such as page size and limit, passed to the endpoint.

  • search_query (str) – The search query string that will be passed to the API endpoint to search for content.

Note

This class is intended to be used via PSNAWP class. See psnawp_api.psnawp.PSNAWP.search().

Initializes the UniversalSearch object.

Parameters:
  • authenticator – The Authenticator instance used for making authenticated requests to the API.

  • pagination_args – Arguments related to pagination like limit and offset.

  • search_query – The search query string that will be passed to the API endpoint to search for content.

__init__(authenticator: Authenticator, pagination_args: PaginationArguments, search_query: str) → None[source]#

Initializes the UniversalSearch object.

Parameters:
  • authenticator – The Authenticator instance used for making authenticated requests to the API.

  • pagination_args – Arguments related to pagination like limit and offset.

  • search_query – The search query string that will be passed to the API endpoint to search for content.

search_game(search_domain: SearchDomain) → Generator[GameSearchResultItem, None, None][source]#

Searches games/game-addons on the Playstation Network.

Parameters:

search_domain – The specific domain within which the search is performed (e.g., games, add-ons, users).

search_user() → Generator[UserSearchResultItem, None, None][source]#

Searches users on the Playstation Network.

previous

psnawp_api.models.search.games_search_datatypes module

next

psnawp_api.models.search.users_result_datatypes module

Contents
  • UniversalSearch
    • UniversalSearch.__init__()
    • UniversalSearch.search_game()
    • UniversalSearch.search_user()

By Yoshikage Kira (@isFakeAccount)

© Copyright 2026, Yoshikage Kira.