[Qgis-community-team] wrong or inexistent link in Documentation

Richard Duivenvoorde richard at duif.net
Wed Nov 19 04:25:19 PST 2014


On 19-11-14 12:41, Alexandre Neto wrote:
> I don't think so, because the dashboard is only available for logged in
> users.
> 
> I know that they have an API to retrieve the values, we have used it in
> the Portuguese users group, but that would need some work. I will ask
> Hugo Martins how he did it.
> 
> http://www.qgis.pt/traducao.html

Nice, I was not aware of that:

http://docs.transifex.com/developer/api/statistics

For QGIS desktop it is easy:

curl -i -L --user user:password -X GET
http://www.transifex.com/api/2/project/QGIS/resource/qgis-application/stats/

There is just one resource:

curl -i -L --user user:password -X GET
http://www.transifex.com/api/2/project/QGIS/?details

But for documentation and website, you can (for what I found) only find
stats PER RESOURCE:

curl -i -L --user user:password -X GET
http://www.transifex.com/api/2/project/qgis-website/?details

curl -i -L --user user:password -X GET
http://www.transifex.com/api/2/project/qgis-website/resource/sphinx/stats/


Anyway, it looks like it is doable to create the stats per project when
we invest some time into this.
Like: once per hour we fire all this requests, and put the results in
one combined json, which is read by some javascript which generates some
graphs.

If somebody finds out how to do this in an easier way: like retrieving a
combined stats result for the total qgis-website or qgis-documenation,
please let me know

Regards,

Richard Duivenvoorde




More information about the Qgis-community-team mailing list