# Best Practise for Using a Raspberry PI as Bot for Posting Updates in Discourse

**URL:** https://meta.discourse.org/t/best-practise-for-using-a-raspberry-pi-as-bot-for-posting-updates-in-discourse/195107
**Category:** Support
**Created:** [June 26, 2021, 4:05pm UTC](https://meta.discourse.org/t/best-practise-for-using-a-raspberry-pi-as-bot-for-posting-updates-in-discourse/195107 "2021-06-26T16:05:50Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)
#### Post date: [June 27, 2021, 12:33pm UTC](https://meta.discourse.org/t/best-practise-for-using-a-raspberry-pi-as-bot-for-posting-updates-in-discourse/195107/4 "2021-06-27T12:33:48Z")

</div>

You can use this gem to connect to your discourse and perform any operations you need.

> [@Use the Discourse API ruby gem](https://meta.discourse.org/t/using-the-discourse-api-ruby-gem/17587):
>
> So you want to use [Discourse API](https://meta.discourse.org/t/discourse-api-documentation/22706)? Great! Let’s get started. Set up Discourse development environment Set up Discourse development environment using our [Windows](https://meta.discourse.org/t/install-discourse-on-windows-for-development/75149), [macOS](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/) or [Ubuntu](https://meta.discourse.org/t/install-discourse-on-ubuntu-or-debian-for-development/14727/) guide. Clone Discourse API Gem Now that you have set up Discourse development environment, you should already have Git and Ruby installed on your system. You can install Discourse API gem by running following command from console: git clone https://github.com/discourse/discourse\_api.git ~/discourse\_api Alternatively…

---

_[View the full topic](https://meta.discourse.org/t/best-practise-for-using-a-raspberry-pi-as-bot-for-posting-updates-in-discourse/195107)._
