Linden Lab Official talk:Live Data Feeds
The links seem to have some trailing rubbish...
To whoever Linden is taking a look at these pages...
The links seem to have a lot of extra items after the ?
— I have no idea if these are deliberate or not (since the links without those extra parameters will also work), but you might wish to take a look at them.
Also, the posted links are still made with the http
scheme, while the actual API endpoints are already fully https
; there are multiple redirects to reach those.
I'd change them myself, but, since this is an official LL page, I'll refrain to do so :-)
— Gwyneth Llewelyn (talk) 14:08, 3 July 2022 (PDT)
Lots of things need correcting/updating
Hello to all helpful Lindens reading this in the future :)
Several things require further attention on this page. First and foremost, you really need to update the endpoints of your APIs as well as the kind of replies they give.
Example:
XML feed
https://api.secondlife.com/datafeeds/secondlife.xml
Returns:
<stats>
<status>ONLINE</status>
<signups>66,782,294</signups>
<inworld>45,050</inworld>
</stats>
LLSD feed
https://api.secondlife.com/datafeeds/homepage.xml
Returns:
<?xml version="1.0" ?>
<llsd>
<map>
<key>stats</key>
<map>
<key>inworld</key>
<integer>44723</integer>
<key>signups</key>
<integer>66782294</integer>
<key>inworld_updated_slt</key>
<string>2022-08-01 11:57:00</string>
<key>inworld_updated_unix</key>
<integer>1659380220</integer><key>signups_updated_slt</key>
<string>2022-08-01 05:20:06</string>
<key>signups_updated_unix</key>
<integer>1659356406</integer>
</map>
</map>
</llsd>
[...]
LindeX
The actual endpoint is now https://api.secondlife.com/datafeeds/lindex.xml (or https://api.secondlife.com/datafeeds/lindex.txt for the text version), but at least it seems that the overall format hasn't changed, i.e. the labels are still the same ones, as well as the number formats:
<?xml version="1.0" ?>
<llsd>
<map>
<key>stats</key>
<map>
<key>last_updated_slt</key>
<string>2022-08-01 13:30:01</string>
<key>limit_buy</key>
<map>
<key>best_10_percent</key>
<map>
<key>max_rate</key>
<string>276</string>
<key>l$_offered</key>
<string>43802063</string>
<key>min_rate</key>
<string>251</string>
</map>
</map>
<key>market_sell</key>
<map>
<key>1_day</key>
<map>
<key>us$_volume</key>
<string>128544.31</string>
<key>max_rate</key>
<string>252</string>
<key>l$_volume</key>
<string>32378403</string>
<key>min_rate</key>
<string>247</string>
</map>
<key>1_hour</key>
<map>
<key>us$_volume</key>
<string>7038.40</string>
<key>max_rate</key>
<string>252</string>
<key>l$_volume</key>
<string>1773371</string>
<key>min_rate</key>
<string>251</string>
</map>
<key>today</key>
<map>
<key>us$_volume</key>
<string>79459.44</string>
<key>max_rate</key>
<string>252</string>
<key>l$_volume</key>
<string>20015601</string>
<key>min_rate</key>
<string>247</string>
</map>
</map>
<key>limit_buy_to_limit_sell</key>
<map>
<key>1_day</key>
<map>
<key>us$_volume</key>
<string>460.82</string>
<key>max_rate</key>
<string>252</string>
<key>l$_volume</key>
<string>115650</string>
<key>min_rate</key>
<string>242</string>
</map>
<key>1_hour</key>
<map>
<key>us$_volume</key>
<string>0.00</string>
<key>max_rate</key>
<string>0</string>
<key>l$_volume</key>
<string>0</string>
<key>min_rate</key>
<string>0</string>
</map>
<key>today</key>
<map>
<key>us$_volume</key>
<string>59.65</string>
<key>max_rate</key>
<string>252</string>
<key>l$_volume</key>
<string>15033</string>
<key>min_rate</key>
<string>252</string>
</map>
</map>
<key>market_buy</key>
<map>
<key>1_day</key>
<map>
<key>us$_volume</key>
<string>310053.21</string>
<key>max_rate</key>
<string>249</string>
<key>l$_volume</key>
<string>75150797</string>
<key>min_rate</key>
<string>241</string>
</map>
<key>1_hour</key>
<map>
<key>us$_volume</key>
<string>17090.35</string>
<key>max_rate</key>
<string>243</string>
<key>l$_volume</key>
<string>4138062</string>
<key>min_rate</key>
<string>242</string>
</map>
<key>today</key>
<map>
<key>us$_volume</key>
<string>165021.15</string>
<key>max_rate</key>
<string>245</string>
<key>l$_volume</key>
<string>40056882</string>
<key>min_rate</key>
<string>242</string>
</map>
</map>
<key>last_updated_unix</key>
<string>1659385801</string>
<key>limit_sell</key>
<map>
<key>best_10_percent</key>
<map>
<key>max_rate</key>
<string>242</string>
<key>l$_offered</key>
<string>499158525</string>
<key>min_rate</key>
<string>219</string>
</map>
</map>
</map>
</map>
</llsd>
... etc...
Note that looged_in_last_60
and transactions
are not being shown any longer (what's the real reason for that?), but the remaining fields seem to be fine.
Listing the current endpoints avoids trying to call a PHP script (that doesn't exist anymore) and getting a redirect instead; also, the result is properly tagged with the correct headers, which, in turn, simplifies the consumer's code (and future views of the same data may include, say, YAML, JSON, etc.)
Just my L$0.02.
— Gwyneth Llewelyn (talk) 18:28, 1 August 2022 (PDT)