¿ªÔÆÌåÓý

Re: Listing hashtags by frequency


 

¿ªÔÆÌåÓý

Hi Andy,
Are you willing to share the python script you mentioned? I¡®m experimenting with the export files myself, a good occasion to start learning python. But there¡®s no better way than to study a working example I believe :-)
I found the following properties in the hashtags export file that may be interesting (not all needed if you really only want the number of entries):

id : numeric
object : "hashtag"
created : date format see below
name: textstring
description: textstring
topic_count: numeric
last_message_date : YYYY-MM-DDThh:mm:ss.nnnnnnnnn-hh:mm (time zone GMT+-) z.B. 2019-11-11T01:15:29.224905072-08:00

Topic_count is the number we need for sorting, the 2 dates may be used to find out if a hashtag has been in use for a while, or only during a very limited period. I¡®m not sure the ?description¡° is used at all, it was always blank in the group where I tested this.
Kind regards
Thomas

Am 30.04.2025 um 13:16 schrieb Andy Wedge via groups.io <andy_wedge@...>:

?
On Wed, Apr 30, 2025 at 11:01 AM, Herbert Eppel wrote:
All I want is to list the group hashtags by frequency, beyond what's already available in the form of the top 10
FYI, I just created a Python script to return the list of hashtags associated with a group. The documentation indicates that you should be able to sort the results by a returned field name, in this case, topic_count, but does not appear to work. The results are always returned in alphabetical order based upon the lowercase version of the hashtag name, either ascending or descending as specified on the request.? I have raised this as a #bug in and will report feedback here when I get it.
?
Regards
Andy

Join [email protected] to automatically receive all group messages.