Betavine API

Navigation

Documentation

Language Bindings

Easily integrate the Betavine API into your application by choosing to use a binding for the programming language of your choice.

API Apps

JavaBetavineAPI
JavaBetavineAPI

A library for accessing the Betavine API with Java

Tue, 17 Jul 2007 23:00:00

Chris Chris
RSSTrigger
RSSTrigger

Monitors RSS feeds on your computer and when they update it will notify an RSS Reader on your mobile

Tue, 06 Nov 2007 18:58:37

OwenGriffin OwenGriffin
AloqaTraX
AloqaTraX

An open API for easy development of location-based services, especially for proactive and community oriented applications

Tue, 24 Jun 2008 08:02:13

Johannes Johannes
WebAPISample
WebAPISample

Access the Betavine Web API with Java ME and the open source JSON library

Thu, 10 Jan 2008 16:16:36

terrencebarr terrencebarr
WM_ApplTrigger
WM_ApplTrigger

Trigger Application under Windows Mobile with Message Interception

Thu, 18 Oct 2007 19:00:48

wdorf wdorf
AppTrigExample
AppTrigExample

An Example application using Application Trigger messages

Mon, 29 Oct 2007 15:58:14

mhales mhales
RubyBetavineAPI
RubyBetavineAPI

A library for accessing the Betavine API with Ruby

Wed, 18 Jul 2007 23:00:00

OwenGriffin OwenGriffin
PythonBVAPI
PythonBVAPI

Python Wrapper for the Vodafone Betavine API

Sun, 29 Jul 2007 23:00:00

Snig Snig
csBetavineAPI
csBetavineAPI

a C# .NET library that makes it easer to access the Betavine API

Tue, 08 Apr 2008 09:11:54

vauschnik vauschnik
UberPicturePoke
UberPicturePoke

Poke your Facebook friends on their mobile

Mon, 25 Feb 2008 10:57:35

OwenGriffin OwenGriffin

Credit

Cost

  • Plain Text SMS: 1 credit
  • WAP Push: 1 credit
  • Application Trigger SMS: 1 credit

To find out which applications are using your credit look at the API Usage page. If you run out of credit, you can request more by sending an e-mail to webmaster.

Recent Posts

Hi,

I take it you are developing an app which uses the Betavine API.

Hence you can look at your developer key to test your app by going here

To navigate to this from the home page, select the resource menu, then select the ling Betavine API Home and then Generate a Developer Key which is near the top left.

Kind regards, Nicholas

Can any one help me how to get UAID

thanks in advanse.

regard,
M.Ramkumar

Bookkeeping Services are focused at helping our customers with the management of accounting and tax preparation needs by reducing their finance and accounts operating costs. Personalized and professional online bookkeeping services cover the entire scope of bookkeeping and customers have the flexibility to choose what they require.
Hi

I'm completing an MSc in Technology Management and am trying to find people to take part in my online survey about the management of maturing technologies. I', after project/programme managers or technical leads or technical managers.

Anyone on this forum interested and have the time to till it in or know who I could contact to get someone from vodafone to take part.

TIA

Jason

Hi,

I am now testing my Mashup/API with the live UAID and I have a curious issue to solve.

If I use my PHP stub to call the API using curl at 13:45 I get an SMS arriving on my phone immediately but it is low down in the inbox with a time of 04:45 (9 hours earlier than it was actually sent).

I assume this might be to do with the date settings on the webservers (though I am sure my host is running on UK time).

Any ideas on how to debug this or fix it?

Thanks

Rob.

I've got it all working now and have tested with the live UAID.

Hi,

I am having a similar issue in that I can generate a URL that works on an IE address bar but I cannot get file() or curl() to work in PHP.

I get a 302 Found message when I run it inside PHP.

Found
The document has moved here.

-------------------------------------------------

HTTP Server at 62.105.171.197 Port 80

Any clues?

Thanks

Rob.

Hi,

Is there any way to obtain the current available tags using the API?

I want to use the tag filtering for the method "Find Betavine Applications" but I don't know how to obtain these tags at first to enable/disable each tag.

Regards.

Hi,

I am having a similar issue in that I can generate a URL that works on an IE address bar but I cannot get file() or curl() to work in PHP.

I get a 302 Found message when I run it inside PHP.

Found
The document has moved here.

-------------------------------------------------

HTTP Server at 62.105.171.197 Port 80

Any clues?

Thanks

Rob.

Thanks for the information. I look forward to the new API's.
Currently Vodafone has no such plans, we are however interested opening up APIs that will be useful to the development community. Can you expand on where your interest comes from?

REg/

Betavine API

Betavine API The Betavine API lets you interact with mobile & web services. It allows you to send text messages, push web links to mobiles and access Betavine content. API calls are available in a variety of formats including XML, JSON and RSS.

RSS Feed Vodafone Betavine API Blog

1 2 3

A quick PHP Ajax proxy

I'm in the middle of writing a mashup tutorial for using the Betavine API. It's slow progress. I'm continually getting distracted by bug reports and lengthly meetings.

My mashup uses Javascript to interact with the API. However directly calling the API using Javascript won't work. The browser intercepts and kills any AJAX requests to a remote hosts. So the solution? I wrote a simple proxy in PHP which sits between the Javascript and the Betavine API.

When a request is made the PHP will make the request to the API and return the response in the AJAX call. The Javascript on the web page then fooled into thinking that the AJAX response came from the same host as the web page.

It's a simple technique and is widely used for many mashups.

The code follows:

<?
ob_start();

function logf($message) {
$fd = fopen('proxy.log', "a");
fwrite($fd, $message . "\n");
fclose($fd);
}

?>
<?
$url = $_REQUEST;
logf($url);
$curl_handle = curl_init($url);
curl_setopt($curl_handle, CURLOPT_HEADER, 0);
curl_setopt($curl_handle, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_handle, CURLOPT_USERAGENT, "Owen's AJAX Proxy");

$content = curl_exec($curl_handle);
$content_type = curl_getinfo($curl_handle, CURLINFO_CONTENT_TYPE);
curl_close($curl_handle);
header("Content-Type: $content_type");
echo $content;
ob_flush();
?>


I'm using CURL to make the HTTP request. Notice that I set the User-Agent using
CURLOPT_USERAGENT
. If I set a user agent then the betavine servers will return a 403 security error.

Have fun!

Owen.
posted by OwenGriffin OwenGriffin  |  View Comments (0)  |  Add Comment  | 

UK Government APIs

I've just discovered a list of UK Government APIs. This includes interesting APIs from Ordnance Survey and Carbon Footprint information. It's bound to create some interesting mashups.
posted by OwenGriffin OwenGriffin  |  View Comments (0)  |  Add Comment  | 

C# Library

I've noticed that vauschnik has uploaded a C# Library for the Betavine API. I haven't really used C# so can't really test it. Has anybody given it a go?

Owen.
posted by OwenGriffin OwenGriffin  |  View Comments (0)  |  Add Comment  | 

Sending messages to the United States

Hi, All.

At the moment Betavine is having problems sending messages to the United States through it's Spanish connection. We've reported this problem to our collegues and hopefully are looking into it.

Sending messages using the API to a US mobile may not work depending on the operator. For the time being use the trigger API method call to send an SMS and specify a random port number.

Thanks,

Owen.
posted by OwenGriffin OwenGriffin  |  View Comments (0)  |  Add Comment  | 

Frequently Asked Questions

What is an API?

An API is an Application Program Interface. The Betavine API is a Web API, which means that it is accessible through the Internet using HTTP.

Why is Betavine launching an API?

For developers, we hope the API will become a useful tool and an incentive to develop applications with Betavine. We are particularly keen to see how Internet-based applications or mashups can use mobile comunications APIs in (such as messaging) to create new and innovative services. We hope the APIs we offer will help developers achieve this.

How much does the API cost to use?

You are not directly charged for using the API although we control usage through a credit based system. When you register as a user or developer on the site, you will be awarded credits (our initial allocation is 100). This will allow you to test and/or develop applications that use our messaging API.
You can see how many credits you have remaining from the API Home.

What happens if I run out of Credit?

All registered users will initially be given 100 credits. With the current release of our API, there is no automatic way to 'top up' your credit (we are currently working on a variety of mechanisms to do this). If you would like more credit, simply drop an e-mail to 'webmaster@betavine.net' with the subject 'credit request' and will contact you to arrange a top-up.

What is the UAID used for?

A UAID (User-Application Identifier) is a key that is used to uniquely identify the user and the application or mashup being used. One of the main drivers for introducing the UAID is so developers can get see how many different users have tried their application. (The UAID will not be used to pass on your personal details to the developer). It also helps the Betavine web team identify any fradulant activity with the APIs.

What happens if somebody steals my UAID?

Be careful with your UAIDs, another user can use your UAID to access the Betavine API. This will result in you loosing your credit, and other users masquerading as you.

Keep track of which applications are using your credit by using the API Usage page. If you suspect that someone else is using your UAID then follow the 'Renew' link. This will give you an entirely new UAID for you to continue using with your application.

Application XXX does not work!

Oops! The developer which wrote that application will probably want to hear about it. Use the discussion forums or leave them a message on their blog.

How do I write a Mashup for the Betavine API?

If you would like to use or write a mashup which uses our API then you need to generate a Mashup Key.
posted by OwenGriffin OwenGriffin  |  View Comments (0)  |  Add Comment  | 
1 2 3