예제 #1
0
        /// <summary>
        /// https://app.seats.io/api/chart/<chartKey>/thumbnail
        /// </summary>
        /// <see cref="http://www.seats.io/docs/api#api-reference-charts-thumbnails"/>
        /// <param name="chartKey"></param>
        /// <returns></returns>
        public string ThumbNail(string chartKey)
        {
            Connect connect = new Connect();

            ConnectData.GetConnectData();
            var baseUri = new Uri(ConnectData.BaseUri);
            var url     = String.Format("{0}api/chart/{1}/thumbnail", baseUri, chartKey);

            return(url);
        }
예제 #2
0
 public Connect()
 {
     ConnectData.GetConnectData();
     _baseUri = new Uri(ConnectData.BaseUri);
     Version  = Assembly.GetExecutingAssembly().GetName().Version.ToString();
 }