Ruby and Python Libraries for Yammer's API

Adarsh Pandit

We’ve worked closely with folks at Yammer to help developers build applications on Yammer’s API.

For Rubyists, we’ve written the Yam Gem. It’s a light API wrapper:

# gem 'yam'

access_token = 'abcdefghijklmn'
yamr = Yammer::Client.new(access_token: access_token)

# Post a status message to your Yammer network
yamr.create_message('status message')

For Pythonistas, we’ve written the Yampy package. It features a nice DSL:

from yampy import Yammer

access_token = 'abcdefghijklmn'
yam = Yammer(access_token)

yam.messages.post('Hello world!')

Both repositories are open sourced under Yammer’s GitHub account, maintained by folks at Yammer, and are considered official. Contributions are welcome. Enjoy!