hex_api_package.search

You're seeing just the function search, go back to hex_api_package module for more information.
Link to this function

search(Config, Query, SearchParams)

View Source

Specs

search(:hex_core.config(), binary(), [binary()]) :: :hex_api.response()

Searches packages.

Examples:

  > hex_api_package:search(hex_core:default_config(), <<"package">>, []).
  {ok, {200, ..., [
      #{<<"name">> => <<"package1">>, ...},
      ...
  ]}}