Thunderbird/Support/GetSatisfaction/MetricsCode
From MozillaWiki
< Thunderbird | Support | GetSatisfaction
Raw implementation notes
will be cleaned up later, this is a WORK IN PROGRESS
- Couldn't get rubygem from the GS team to work so used raw REST and json interface instead
- http://api.getsatisfaction.com/topics/_exclude_option_to_avoid_sending_to_specific_addresses_within_an_address_list/replies.json - gets list of replies
- http://api.getsatisfaction.com/topics/_exclude_option_to_avoid_sending_to_specific_addresses_within_an_address_list.json - gets me list including ["reply_count"] of 4
- resp, data = http.get("/companies/mozilla_messaging/topics.json?limit=30&page=1", nil)
- if resp.code = 200 # 200 HTTP OK
- result = JSON.parse(data)
- print result["data"][15]["author"]["name"]
- to get tags:
- Three programs
- gather metrics for a given week
- gather top 10 support issues for a given week based on tags
- going to rely on tags for now as these are user visible unlike GS's ids
- gather happiness metric for a week, number of people who are happy who aren't roland :-)