chartbeat

 

twitterwords

Page history last edited by billy chasen 8 mos ago

About this call


 

This call serves two purposes.  When called with just a host, it returns the twitter words that are currently being tracked for that host.  If the GET variable "keywords" is set, it will update the currently tracked keywords.

 

Format


 

http://chartbeat.com/dashapi/twitterwords/?host=[host]&since=[timestamp]&keywords=[keywords]&apikey=[apikey]

 

  • host - Required.  The domain name to get twitterwords data about.
  • apikey - Required.  An api key generated here that gives access to this call.
  • keywords - Optional.  If set, will update the currently tracked keywords to the given words (comma separated).
  • jsonp - Optional.  Give the name of a function to wrap the return data in. Learn more here

 

Example


 

http://chartbeat.com/dashapi/twitterwords/?host=chartbeat.com&apikey=abc123

 

Example return:

 

["searchterm1", "searchterm2"] 

 

Setting example:

 

http://chartbeat.com/dashapi/twitterwords/?host=chartbeat.com&keywords=newword1,newword2&apikey=abc123
 

Example return:

 

[ true ]

 

Return variables


 

Returns a list of the currently tracked twitter search terms.  If setting to new words, returns success or failure.

 

Comments (0)

You don't have permission to comment on this page.