Forum Discussion

Huntson's avatar
Huntson
Expert
12 years ago

Unique Visitors via API

Hi,

 

We're redesigning our forum/community and we're creating a curated area where we'll feature the “hottest” boards of the day. Within that area we wanted to include the number of visitors that those feature boards receive in order to attract other users into them.

 

So basically, we'd like to extract the number of unique visitors who have visited a specific board in a X time period. Is there any way to do that suing Lithium APIs?

 

Thank you

3 Replies

  • YuriK's avatar
    YuriK
    Khoros Alumni (Retired)
    12 years ago

    Hey Huntson,

     

    I don't believe you can get a number of unique visitors to the board using restapi at the moment. However you can get the board_views metric (signifies number of times the board was viewed):

     

    Documentation: http://lithosphere.lithium.com/t5/rest-api/bd-p/developers-rest-api?leaf-id=Metrics.name.name#Metrics.name.name

    Example: /restapi/vc/boards/id/Aquarius/metrics/name/board_views

     

    Hope this helps,

     

    Yuri

  • Huntson's avatar
    Huntson
    Expert
    12 years ago
    Thanks a lot for your response Yuri.

    I think we'll go for recent threads within the board then and hopefully we'll be able to get visitors in the near future.

    Regards
  • daphtan's avatar
    daphtan
    Director
    11 years ago
    are there updates on this?