Thunderbird/Support/GetSatisfaction/MetricsCode: Difference between revisions
< Thunderbird | Support | GetSatisfaction
Jump to navigation
Jump to search
| Line 10: | Line 10: | ||
* to get tags: | * to get tags: | ||
** http://api.getsatisfaction.com/topics/_exclude_option_to_avoid_sending_to_specific_addresses_within_an_address_list/tags.json?limit=30&page=1 | ** http://api.getsatisfaction.com/topics/_exclude_option_to_avoid_sending_to_specific_addresses_within_an_address_list/tags.json?limit=30&page=1 | ||
* | * Three programs | ||
*# gather metrics for a given week | *# gather metrics for a given week | ||
*# gather top 10 support issues for a given week based on tags | *# 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 | *#* 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 :-) | |||
Latest revision as of 03:18, 20 September 2009
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 :-)