public WallpaperModel SearchTag(string tag) { string endpointToCall = baseEndpoint + searchTagEndpoint + tag; endpointToCall = AuthenticateRequest(endpointToCall); endpointToCall = SetPurityLevel(endpointToCall); WallpaperModel pM = WallpaperModel.FromJson(GetJsonFromEndpoint(endpointToCall)); return(pM); }
public static string ToJson(this WallpaperModel self) => JsonConvert.SerializeObject(self, Converter.Settings);