pub fn taxonomy(&self, taxonomy: &str) -> OffResult {
        let base_url = self.base_url_world()?; // force world locale.
        let url = base_url.join(&format!("data/taxonomies/{}.json", taxonomy))?;
        self.get(url, None)
    }
/// Get the given taxonomy. Taxonomies are static JSON files.
///
/// # OFF API request
///
/// `GET https://world.openfoodfacts.org/data/taxonomies/{taxonomy}.json`
///
/// Taxonomies support only the locale "world".
///
/// # Arguments
///
/// * taxonomy - The taxonomy name. One of the following:
///     - additives
///     - allergens
///     - additives_classes (*)
///     - brands
///     - countries
///     - ingredients
///     - ingredients_analysis (*)
///     - languages
///     - nova_groups (*)
///     - nutrient_levels (*)
///     - states
/// (*) Only taxonomy. There is no facet equivalent.
Get the given taxonomy. Taxonomies are static JSON files.
Get the given taxonomy . Taxonomies are static JSON files .
pub fn taxonomy(&self, taxonomy: &str) -> OffResult {
        let base_url = self.base_url_world()?; // force world locale.
        let url = base_url.join(&format!("data/taxonomies/{}.json", taxonomy))?;
        self.get(url, None)
    }
pub fn taxonomy ( & self , taxonomy : & str ) -> OffResult { let base_url = self . base_url_world ( ) ? ; // force world locale. let url = base_url . join ( & format ! ( " " taxonomy ) ) ? ; self . get ( url , None ) }
Get the given taxonomy.
Get the given taxonomy .
&self
taxonomy
&str
&self
taxonomy
&str
off api request


Taxonomies support only the locale "world".
Taxonomies support only the locale " world " .