Ruby and Python Libraries for Yammer's API

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!

Pair with one of our expert developers to level up your skills with Coaching by thoughtbot. Save time learning best practices and techniques for reducing technical debt in Ember, Ruby, Haskell, and Go in 1-on-1 sessions tailored to your goals.