eodag.plugins.search.qssearch.ODataV4Search#

class eodag.plugins.search.qssearch.ODataV4Search(provider, config)[source]#

A specialisation of a QueryStringSearch that does a two step search to retrieve all products metadata

__init__(provider, config)#

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

do_search(*args, **kwargs)

A two step search can be performed if the metadata are not given into the search result

format_free_text_search(**kwargs)

Build the free text search parameter using the search parameters

get_collections(**kwargs)

Get the collection to which the product belongs

get_metadata_search_url(entity)

Build the metadata link for the given entity

get_product_type_def_params(product_type, ...)

Get the provider product type definition parameters

get_queryables(search_params)

Retrieve the metadata mappings that are query-able

map_product_type(product_type, **kwargs)

Map the eodag product type to the provider product type

normalize_results(results, **kwargs)

Build EOProducts from provider results

query([items_per_page, page, count])

Perform a search on an OpenSearch-like interface

update_metadata_mapping(metadata_mapping)

Update plugin metadata_mapping with input metadata_mapping configuration

Attributes

COMPLEX_QS_REGEX

DEFAULT_ITEMS_PER_PAGE

extract_properties

plugins