Skip to content

Commit

Permalink
fix: add more taxonomies
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Aug 9, 2023
1 parent 06f0c16 commit d6da4e1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions openfoodfacts/taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,28 @@
+ "/data/taxonomies/packaging_recycling.full.json",
TaxonomyType.country: URLBuilder.static(Flavor.off, Environment.org)
+ "/data/taxonomies/countries.full.json",
TaxonomyType.additive: URLBuilder.static(Flavor.off, Environment.org)
+ "/data/taxonomies/additives.full.json",
TaxonomyType.vitamin: URLBuilder.static(Flavor.off, Environment.org)
+ "/data/taxonomies/vitamins.full.json",
TaxonomyType.mineral: URLBuilder.static(Flavor.off, Environment.org)
+ "/data/taxonomies/minerals.full.json",
TaxonomyType.amino_acid: URLBuilder.static(Flavor.off, Environment.org)
+ "/data/taxonomies/amino_acids.full.json",
TaxonomyType.nucleotide: URLBuilder.static(Flavor.off, Environment.org)
+ "/data/taxonomies/nucleotides.full.json",
TaxonomyType.allergen: URLBuilder.static(Flavor.off, Environment.org)
+ "/data/taxonomies/allergens.full.json",
TaxonomyType.state: URLBuilder.static(Flavor.off, Environment.org)
+ "/data/taxonomies/states.full.json",
TaxonomyType.origin: URLBuilder.static(Flavor.off, Environment.org)
+ "/data/taxonomies/origins.full.json",
TaxonomyType.language: URLBuilder.static(Flavor.off, Environment.org)
+ "/data/taxonomies/languages.full.json",
TaxonomyType.other_nutritional_substance: URLBuilder.static(
Flavor.off, Environment.org
)
+ "/data/taxonomies/other_nutritional_substances.full.json",
}


Expand Down

0 comments on commit d6da4e1

Please sign in to comment.