Beispiel #1
0
        public Recipe GetRecipe(string recipeSlug, ArtisanType artisan)
        {
            string  artisanSlug = artisan.ToString().ToLower();
            Request request     = new Request(User_Agent);

            request.Get($"{Api_Url}d3/data/artisan/{artisanSlug}/recipe/{recipeSlug}?locale={Locale}&apikey={Api_Key}");
            return(new Recipe(JObject.Parse(request.Response)));
        }