eodag.plugins.search.qssearch.AwsSearch
eodag.plugins.search.qssearch.AwsSearch#
- class eodag.plugins.search.qssearch.AwsSearch(provider: str, config: PluginConfig)[source]#
A specialisation of RestoSearch that modifies the way the EOProducts are built from the search results
Methods
__init__
(provider, config)build_query_string
(product_type, **kwargs)Build The query string using the search parameters
clear
()Clear search context
collect_search_urls
([page, items_per_page, ...])Build paginated urls
count_hits
(count_url[, result_type])Count the number of results satisfying some criteria
discover_product_types
()Fetch product types list from provider using discover_product_types conf
discover_queryables
(**kwargs)Fetch queryables list from provider using discover_queryables conf
do_search
([items_per_page])Perform the actual search request.
get_collections
(**kwargs)Get the collection to which the product belongs
get_defaults_as_queryables
(product_type)Return given product type defaut settings as queryables
get_metadata_mapping
([product_type])Get the plugin metadata mapping configuration (product type specific if exists)
get_product_type_def_params
(product_type, ...)Get the provider product type definition parameters and specific settings
map_product_type
(product_type, **kwargs)Get the provider product type from eodag product type
normalize_results
(results, **kwargs)Transform metadata from provider representation to eodag representation
query
([product_type, items_per_page, page, ...])Perform a search on an OpenSearch-like interface
update_metadata_mapping
(metadata_mapping)Update plugin metadata_mapping with input metadata_mapping configuration
Attributes
DEFAULT_ITEMS_PER_PAGE
extract_properties
plugins