Thanks Alex!
Works like a charm.
Regards,
Balázs
2017-11-19 22:42 GMT+01:00 Alex Eng <aeng(a)redhat.com>:
As per describe in
https://zanata.ci.cloudbees.com/job/zanata-api-
site/site/zanata-common-api/rest-api-docs/resource_StatisticsResource.html
Depending on the statistics you require,
`curl
https://fedora.zanata.org/rest/stats/proj/*test*/iter/*1.0`*
`curl
https://fedora.zanata.org/rest/stats/proj/*test*/iter/*1.0*/doc/test
*`*
On Sat, Nov 18, 2017 at 10:31 PM, Balázs Meskó <meskobalazs(a)gmail.com>
wrote:
> Update: I see that Zanata has a REST API, and *StatisticsResource *could
> be what I need. I just need to figure out what to feed into curl. Any ideas?
>
> 2017-11-18 13:07 GMT+01:00 Balázs Meskó <meskobalazs(a)gmail.com>:
>
>> Hi!
>>
>> Currently my biggest problem with Zanata - beside the minor annoyances -
>> is the need to click through all the project for changes. As AFAIK there is
>> no built-in notification system, I would like to write a script to pull the
>> current translation state from Zanata.
>>
>> Preferable this would be a list of API calls with curl, so I could make
>> a script, in which I put the project, the version and the locale, and it
>> says X untranslated, Y translated, Z approved. You get the idea. Is there
>> such a solution for Zanata? If not, are there any alternatives?
>>
>> Thanks in advance,
>> Balázs Meskó,
>> fellow translator
>>
>
>
> _______________________________________________
> trans mailing list -- trans(a)lists.fedoraproject.org
> To unsubscribe send an email to trans-leave(a)lists.fedoraproject.org
>
>
--
ALEX ENG
ASSOCIATE MANAGER
LOCALISATION TOOLING, CUSTOMER PLATFORM
Red Hat Inc <
https://www.redhat.com/>
193 North Quay, Brisbane City QLD 4000
aeng(a)redhat.com M: 0423353457 IM: aeng
<
https://red.ht/sig>
_______________________________________________
trans mailing list -- trans(a)lists.fedoraproject.org
To unsubscribe send an email to trans-leave(a)lists.fedoraproject.org