コード例 #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);
        }
コード例 #2
0
 public static string ToJson(this WallpaperModel self) => JsonConvert.SerializeObject(self, Converter.Settings);