I recently discovered JQ and it worked perfect for me to query Canillitapp services.

Here are some examples:

search.sh

  • Makes a search (URL escaped) and shows last 20 examples.
  • Transforms UNIX timestamp into a legible date.

sh search.sh calu%20rivero

terminal screenshot

latest_news.sh

  • Shows last 20 news.
  • Transforms UNIX timestamp into a legible date.

sh latest_news.sh

terminal screenshot

trending_news.sh

  • Shows trending topics for today.
  • Transforms UNIX timestamp into a legible date.

terminal screenshot

finally, alias the scripts in order to make your life easier