An example in Ruby of how to use the API to visualize Podio activities
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
data/local_avatars
lib
.gitignore
Gemfile
Gemfile.lock
README
config.yml.sample

README

Podio Swarm generates a code swarm movie for your Podio activities throughout time.

It requires the following:
- A Podio login and API key
- code swarm (https://github.com/rictic/code_swarm) [git clone https://github.com/rictic/code_swarm.git]
- ffmpeg (http://ffmpeg.org/) [sudo port install ffmpeg +gpl +lame +x264 +xvid]
- ImageMagick (http://www.imagemagick.org/) [sudo port install ImageMagick]

To generate your movie, follow these steps:
1. Run "bundle install"
2. Copy config.yml.sample to config.yml and enter your client id and secret to the Podio API.
3. Run "ruby lib/podio_swarm.rb"
4. Cd to your code swarm dir and run "./run.sh /path/to/podio_swarm/data/output.config"
5. Cd back to the Podio Swarm dir and run "ffmpeg -f image2 -r 24 -i ./data/frames/code_swarm-%05d.png -sameq ./podio_swarm.mov -pass 2"