AnalysisDataAPI

interface AnalysisDataAPI

API calls for loading static multilingual data This calls should be used as rare as possible, because they load Big Data

Author

Lobster

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@GET(value = "data/taxonomies/additives.json")
abstract suspend fun getAdditives(): AdditivesWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/additives_classes.json")
abstract suspend fun getAdditivesClasses(): CategoriesWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/allergens.json")
abstract suspend fun getAllergens(): AllergensWrapper
Link copied to clipboard
@GET(value = "files/app/ingredients-analysis.json")
abstract suspend fun getAnalysisTagConfigs(): AnalysisTagConfigsWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/ingredients_analysis.json")
abstract suspend fun getAnalysisTags(): AnalysisTagsWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/brands.json")
abstract suspend fun getBrands(): BrandsWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/categories.json")
abstract suspend fun getCategories(): CategoriesWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/countries.json")
abstract suspend fun getCountries(): CountriesWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/ingredients.json")
abstract suspend fun getIngredients(): IngredientsWrapper
Link copied to clipboard
@GET(value = "data/invalid-barcodes.json")
abstract suspend fun getInvalidBarcodes(): List<String>
Link copied to clipboard
@GET(value = "data/taxonomies/labels.json")
abstract suspend fun getLabels(): LabelsWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/languages.json")
abstract suspend fun getLanguages(): CategoriesWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/minerals.json")
abstract suspend fun getMinerals(): CategoriesWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/nucleotides.json")
abstract suspend fun getNucleotides(): CategoriesWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/nutrient_levels.json")
abstract suspend fun getNutrientLevels(): CategoriesWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/nutrients.json")
abstract suspend fun getNutrients(): CategoriesWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/states.json")
abstract suspend fun getStates(): StatesWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/stores.json")
abstract suspend fun getStores(): StoresWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/packager-codes.json")
abstract suspend fun getTags(): TagsWrapper
Link copied to clipboard
@GET(value = "data/taxonomies/vitamins.json")
abstract suspend fun getVitamins(): CategoriesWrapper