FOSSASIA

loklak: Write a ruby shell script which retrieves tweets from loklak.org

loklak.org provides tweet timelines as JSON data when you send a html request to loklak.org/api/search.json?q=fossasia (i.e. to search for fossasia). Your task is, to write a ruby shell script which can be called like "./search.rb fossasia" and that returns all tweet text lines, one tweet text string in every output line. You get the text line from statuses[].text from the JSON output. Submit your result as git pull request to https://github.com/loklak/loklak_server/tree/master/bin

Task tags

  • json
  • shell
  • ruby
  • twitter
  • script

Students who completed this task

Seva Zhidkov

Task type

  • code Code
close

2015