Project

imified

0.0
No commit activity in last 3 years
No release in over 3 years
The IMified API exposes methods for sending messages, fetching user details, and updating status. To get started, you'll need to sign up for a free developer account at: http://imified.com/account/signup
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0

Runtime

 Project Readme

Imified¶ ↑

Easily IM enable your Ruby or Rails applications with one simple API.

The Imified gem aims to be as flexible as possible while helping you easily integrate instant messaging into your application.

Imified was designed to be as simple as possible. For the first implementation it will simply contain the public API methods specified on the Imified website. (www.imified.com/developers/api)

Create an Imified account¶ ↑

  1. Create your FREE accout at www.imified.com/account/sign_up.

  2. Create your bot. Imified will ask you to provide the following information:

    • Name

    • Screen Name

    • URL (Note: Leave this blank until you need it.)

  3. Create a screenname for your bot. Choose one of the following services:

  4. Login to your imified bot and connect the bot to the newly created account.

Installation¶ ↑

Install the gem:

gem install imified

Setup IMified when your application initializes:

Imified.setup do |config|
  config.botkey = 'botkey of the bot you want to use'
  config.email_address = 'your imified account email address'
  config.password = 'your imified account password'
end

Usage¶ ↑

# Send a message to a user or list of users.
Imified.send_message("Welcome to Imified", :to => 'userkey or email address')

# Fetch the user details for a specific user.
Imified.get_user(userkey)

# Fetch a list of all of the users known to the bot.
Imified.get_all_users