Esempio n. 1
0
        public WallpaperModel SearchTag(string tag)
        {
            string endpointToCall = baseEndpoint + searchTagEndpoint + tag;

            endpointToCall = AuthenticateRequest(endpointToCall);
            endpointToCall = SetPurityLevel(endpointToCall);
            WallpaperModel pM = WallpaperModel.FromJson(GetJsonFromEndpoint(endpointToCall));

            return(pM);
        }
Esempio n. 2
0
 public static string ToJson(this WallpaperModel self) => JsonConvert.SerializeObject(self, Converter.Settings);