---
title: Ruby and Python Libraries for Yammer's API
teaser:
tags: web,ruby,python
author: Adarsh Pandit
published_on: 2013-11-24
---

We've worked closely with folks at Yammer to help developers build applications
on [Yammer][1]'s [API][2].

For Rubyists, we've written the [Yam Gem][3]. It's a light <abbr title="Application Programming Interface">API</abbr> 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][4]. 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][5],
maintained by folks at Yammer, and are considered official. Contributions are
welcome. Enjoy!

[1]: https://www.yammer.com
[2]: https://developer.yammer.com/restapi
[3]: https://github.com/yammer/yam
[4]: https://github.com/yammer/yam-python
[5]: https://github.com/yammer
