Business Trending tags and Sentiments

GET /trendingsv2/


byid=:bid Required int - Socialdraftbusiness id
&type=:type Required string - Sentiment type (‘positive’,’negative’)
&schedule=:schedule Required string - Period schedule of tags
(‘week’,’month’,’quarter’,’year’,’all’)
&appid=:appid Required API ID - Your application access KEY
&appkey=:appkey Required API ID - Your application access KEY


Response (JSON)


A successful response (Status Code 200) will render a JSON data of the business customers

[

{
" tag " : {
" tag " : "small" ,
" size " : "4" ,
" rowcount " : "10" ,
" sentiment_type " : "pos" ,
" sentiment_count " : "3"
},
" reviews " : {
" positive " : {
" 0 " : {
" raw_sentence " : "Very small place but awesome produce and kind staff." ,
" review_highlight " : "Very small<\/b> place but awesome produce and kind staff.<\/span>" ,
" rating " : "4" ,
" review_id " : "95919" ,
" reviewer " : "Jen L." ,
" reviewer_business " : "Nutley, NJ" ,
" reviewer_id " : "101918" ,
" review_source " : "Yelp" ,
" review_date " : "22 August 2013" ,
" sentence_highlight " : "Very small<\/b> place but awesome produce and kind staff.<\/span>"
},
" 142 " : {
" raw_sentence " : "For me small and easily navigated is always preferred...and I love any business that stands behind its product." ,
" review_highlight " : "I'm a big fan of this store. For me small<\/b> and easily navigated is always preferred...and I love any business that stands behind its product.<\/span> On the rare occasion that I have had an issue ... they have refunded or replaced with no questions asked." ,
" rating " : "2" ,
" review_id " : "95921" ,
" reviewer " : "Mike P." ,
" reviewer_business " : "West Orange, NJ" ,
" reviewer_id " : "101920" ,
" review_source " : "Yelp" ,
" review_date " : "10 July 2013" ,
" NAME " : "It's way too small<\/b> and there is just not enough space to fit their full selection.<\/span>"
},
" 24 " : {
" raw_sentence " : "For me small and easily navigated is always preferred...and I love any business that stands behind its product." ,
" review_highlight " : "This is thI'm a big fan of this store. For me small<\/b> and easily navigated is always preferred...and I love any business that stands behind its product.<\/span> On the rare occasion that I have had an issue ... they have refunded or replaced with no questions asked." ,
" rating " : "4" ,
" review_id " : "95937" ,
" reviewer " : "Steve M." ,
" reviewer_business " : "Montclair, NJ" ,
" reviewer_id " : "101936" ,
" review_source " : "Yelp" ,
" review_date " : "08 July 2012" ,
" NAME " : "For me small<\/b> and easily navigated is always preferred...and I love any business that stands behind its product.<\/span>"
}
}
}
}
]