curl --silent -X POST 'https://www.acapela-cloud.com/api/storage/' -F 'file=@./dico.dic' -H 'Authorization: Token '$token -H 'Content-Type: multipart/form-data' -H 'Content-Disposition: attachment; filename=dico.dic') |
curl --silent -G 'https://www.acapela-cloud.com/api/command/?voice=Alice22k_HQ&text=hello&output=storage&type=mp3&dico=dico.dic&token='$token |
curl --silent -G 'https://www.acapela-cloud.com/api/command/?voice=Alice22k_HQ&text=hello&application=applicationname&token=yourtoken |
curl --silent -G 'https://www.acapela-cloud.com/api/stats/?type=credit&option=application&token=yourtoken |
comand stats : {'day': 27, 'month': 3, 'year': 2020, 'application': 'application-2', 'count': 50}
comand stats : {'day': 27, 'month': 3, 'year': 2020, 'application': 'application-1', 'count': 30}
comand stats : {'day': 30, 'month': 3, 'year': 2020, 'application': 'application-2', 'count': 25}
comand stats : {'day': 30, 'month': 3, 'year': 2020, 'application': 'application-1', 'count': 35}
comand stats : {'day': 31, 'month': 3, 'year': 2020, 'application': 'application-1', 'count': 40}
comand stats : {'day': 31, 'month': 3, 'year': 2020, 'application': 'application-2', 'count': 30}
|
curl --silent -G 'https://www.acapela-cloud.com/api/stats/?type=credit&token=yourtoken |
Command stats global
comand stats : {'day': 27, 'month': 3, 'year': 2020, 'count': 80}
comand stats : {'day': 30, 'month': 3, 'year': 2020, 'count': 60}
comand stats : {'day': 31, 'month': 3, 'year': 2020, 'count': 70}
|