1

With this API(https://api.stackexchange.com/docs/related-tags), I can only get the related tag's info on Stack Overflow, but what I want is the co-occur times. Like the following which is for tag "javascript":

this is from Stack Overflow which is for tag "javascript"

  • What do you mean with the 'co-occur times'? The count of the tag is in the returned JSON, right? – Patrick Hofman Mar 26 '16 at 15:18
  • ok, I got it wrong. I was thinking the field "count" is the number of questions that the related tag tagged. Maybe I have been misled by this sentence "This method returns a list of tags." – Star Lee Mar 26 '16 at 15:26
  • So you could just test it and see for yourself, like what I did. – ShaWiz Mar 26 '16 at 15:28
2

You already get this in the API response:

count represents the number of shared occurrences, as per the documentation:

count on tag objects returned is the number of question with that tag that also share all those in {tags}.

You need some programming to format it the way you want, you can't have the API return it with the design you asked for, only raw data from the database.

  • 1
    Yes, I did get it. I just understood wrong and thank you. – Star Lee Mar 26 '16 at 15:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .