Archive for the 'development' Category

Easily use fastDove from within your applications

Feb 24 2011 Published by admin under development,Product

If you are a company or an advanced user, you may be interested in writing scripts to automatize repetitive messaging tasks or even in integrating fastDove into your applications. Here are some examples of what you might want to do:

  • Modify an internal application to send weekly reports to the responsible people.
  • Send customers a SMS message when they sign up on your website.
  • Hook fastDove into your servers so they can notify a system administrator when there is a problem, or even when updates are available.
  • Or really, anything else you’d like to use messaging for!

For this, we expose a powerful API from which you can access almost all of fastDove’s features. This REST API is available over simple HTTP and supports either XML or JSON (at your option) as communication formats. See the documentation at http://api.fastdove.com/1/ for more information.

Using our API from Python

Even further, since at fastDove we like to make things as simple as possible, we’re happy to provide you with a Python module which will make it even easier to access our features.

Python is a powerful dynamic programming language used in a wide variety of application domains by companies all over the world. If you don’t use Python, don’t worry, since you can still use our API directly from almost any other programming language (including C/C++, PHP, Java, Ruby, etc).

This Python module, which is provided on a best effort basis, is available at http://static.fastdove.com/api/fastdoveapi.py. Using it can be as easy as:

from fastdoveapi import *
fastdove = FastDove('username', 'password')
person = Contact(mobile='+34644xxxxxx')
fastdove.send_message('Hello, how are you?', person)

No responses yet