- Kotlin 1.1.2
- Gradle 3.3
First, create the gradle wrapper script:
gradle wrapper
Then, run:
./gradlew check assemble
This runs all tests and packages the library.
- Supports JSON inputs/outputs, File inputs, and Form inputs.
- Supports collection formats for query parameters: csv, tsv, ssv, pipes.
- Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in Swagger definitions.
- Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets.
All URIs are relative to https://chompthis.com/api/v2
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | foodBrandedBarcodePhpGet | GET /food/branded/barcode.php | Get a branded food item using a barcode |
DefaultApi | foodBrandedNamePhpGet | GET /food/branded/name.php | Get a branded food item by name |
DefaultApi | foodBrandedSearchPhpGet | GET /food/branded/search.php | Get data for branded food items using various search parameters |
DefaultApi | foodIngredientSearchPhpGet | GET /food/ingredient/search.php | Get raw/generic food ingredient item(s) |
DefaultApi | recipeIdPhpGet | GET /recipe/id.php | Get a recipe by ID |
DefaultApi | recipeIngredientPhpGet | GET /recipe/ingredient.php | Get recipes using a list of ingredients |
DefaultApi | recipeRandomPhpGet | GET /recipe/random.php | Get random popular recipes |
DefaultApi | recipeSearchPhpGet | GET /recipe/search.php | Get recipes using a title and optional filters |
- io.swagger.client.models.BrandedFoodObject
- io.swagger.client.models.BrandedFoodObjectCountryDetails
- io.swagger.client.models.BrandedFoodObjectDietFlags
- io.swagger.client.models.BrandedFoodObjectDietLabels
- io.swagger.client.models.BrandedFoodObjectDietLabelsGlutenFree
- io.swagger.client.models.BrandedFoodObjectDietLabelsVegan
- io.swagger.client.models.BrandedFoodObjectDietLabelsVegetarian
- io.swagger.client.models.BrandedFoodObjectItems
- io.swagger.client.models.BrandedFoodObjectNutrients
- io.swagger.client.models.BrandedFoodObjectPackage
- io.swagger.client.models.BrandedFoodObjectPackagingPhotos
- io.swagger.client.models.BrandedFoodObjectPackagingPhotosFront
- io.swagger.client.models.BrandedFoodObjectPackagingPhotosIngredients
- io.swagger.client.models.BrandedFoodObjectPackagingPhotosNutrition
- io.swagger.client.models.BrandedFoodObjectServing
- io.swagger.client.models.IngredientObject
- io.swagger.client.models.IngredientObjectCalorieConversionFactor
- io.swagger.client.models.IngredientObjectComponents
- io.swagger.client.models.IngredientObjectItems
- io.swagger.client.models.IngredientObjectNutrients
- io.swagger.client.models.IngredientObjectPortions
- io.swagger.client.models.RecipeObject
- io.swagger.client.models.RecipeObjectAttributes
- io.swagger.client.models.RecipeObjectIngredients
- io.swagger.client.models.RecipeObjectItems
- io.swagger.client.models.RecipeObjectMeta
- io.swagger.client.models.RecipeObjectMetaImages
- io.swagger.client.models.RecipeObjectNutrients
- io.swagger.client.models.RecipeObjectNutrientsCalories