Beispiel #1
0
        public static IEnumerable <DTO.Endpoint> GetByProjectId(string subscriptionKey, string hostURI, string projectId)
        {
            string url = string.Format(CultureInfo.InvariantCulture, hostURI + API_V3.VoiceEndpoints_GetByProjectId, projectId);

            return(APIHelper.Get <IEnumerable <DTO.Endpoint> >(subscriptionKey, url));
        }
Beispiel #2
0
        public static IEnumerable <DTO.Model> Get(string subscriptionKey, string hostURI)
        {
            string url = string.Format(CultureInfo.InvariantCulture, hostURI + API_V3.VoiceModels_Get);

            return(APIHelper.Get <IEnumerable <DTO.Model> >(subscriptionKey, url));
        }
        public static DTO.BatchSynthesis GetById(string subscriptionKey, string hostURI, string batchSynthesisId)
        {
            string url = string.Format(CultureInfo.InvariantCulture, hostURI + API_V3.VoiceSynthesis_ById, batchSynthesisId);

            return(APIHelper.Get <DTO.BatchSynthesis>(subscriptionKey, url));
        }
        public static IEnumerable <DTO.Voice> Getvoices(string subscriptionKey, string hostURI)
        {
            string url = string.Format(CultureInfo.InvariantCulture, hostURI + API_V3.VoiceSynthesis_GetVoice);

            return(APIHelper.Get <IEnumerable <DTO.Voice> >(subscriptionKey, url));
        }
Beispiel #5
0
        public static IEnumerable <DTO.VoiceTest> Get(string subscriptionKey, string hostURI, string modelId)
        {
            string url = string.Format(CultureInfo.InvariantCulture, hostURI + API_V3.VoiceTests_GetByModelId, modelId);

            return(APIHelper.Get <IEnumerable <DTO.VoiceTest> >(subscriptionKey, url));
        }