Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Getting current L$/USD exchange rate

Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
04-03-2008 04:25
Is there a standard way of getting the current exchange rate from L$ to USD or vice-versa? I'm looking for a way that preferably doesn't involve trying to hack apart HTML, but I can't find out if LL decided to add this feature or not.

The issue isn't LSL specific, I can do the fetching in PHP instead.
_____________________
Computer (Mac Pro):
2 x Quad Core 3.2ghz Xeon
10gb DDR2 800mhz FB-DIMMS
4 x 750gb, 32mb cache hard-drives (RAID-0/striped)
NVidia GeForce 8800GT (512mb)
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
04-03-2008 05:14
afaik, there's no such thing as a command to convert L$ to US$ and vice versa...

I usually pull the exchange-rate form here: http://secondlife.reuters.com/

:)
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
04-03-2008 09:17
I recall there being a simple HTTP interface implemented by LL for this. It was meant specifically for easy use in LSL I believe. Look for really old blog posts.... Heh.
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
04-03-2008 10:55
http://secondlife.com/httprequest/homepage.php

I think that's the LSL interface, but I'm not sure. I know there are two, one intended for LSL scripts and one for standalone programs.
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
04-03-2008 12:04

Cool, cheers! Is this actually documented anywhere? I looked around various wikis but didn't find anything.
_____________________
Computer (Mac Pro):
2 x Quad Core 3.2ghz Xeon
10gb DDR2 800mhz FB-DIMMS
4 x 750gb, 32mb cache hard-drives (RAID-0/striped)
NVidia GeForce 8800GT (512mb)
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
04-03-2008 12:46
From: Haravikk Mistral
Cool, cheers! Is this actually documented anywhere? I looked around various wikis but didn't find anything.

It's mostly been documented in the blog, but there is a little wiki entry http://wiki.secondlife.com/wiki/Live_Data_Feeds
_____________________
Papalopulus Kobolowski
working mind
Join date: 11 Aug 2006
Posts: 326
04-03-2008 15:57
check this post maybe its that you need
/54/ba/173608/1.html