Difference between revisions of "Linden Lab Official:Live Data Feeds"

From Second Life Wiki
Jump to navigation Jump to search
Line 46: Line 46:
|}
|}


=== LLSD feed (With timestamps) ===
=== LLSD feed ===
: http://secondlife.com/xmlhttp/homepage.php
: http://secondlife.com/xmlhttp/homepage.php
Each key pair has additional dates associated indicating when the data was updated in UNIX time and SL time (Pacific Time).
Example:
<nowiki><llsd>
<map>
<key>stats</key>
<map>
<key>signups</key>
<integer>18072841</integer>
<key>signups_updated_unix</key>
<integer>1265100902</integer>
<key>signups_updated_slt</key>
<string>2010-02-02 00:55:02</string>
<key>logged60</key>
<integer>1404640</integer>
<key>logged60_updated_unix</key>
<integer>1265097599</integer>
<key>logged60_updated_slt</key>
<string>2010-02-01 23:59:59</string>
<key>transactions_us$</key>
<integer>3065694</integer>
<key>transactions_us$_updated_unix</key>
<integer>1265100936</integer>
<key>transactions_us$_updated_slt</key>
<string>2010-02-02 00:55:36</string>
<key>transactions_us$_freshness_unix</key>
<integer>1265097624</integer>
<key>transactions_us$_freshness_slt</key>
<string>2010-02-02 00:00:24</string>
<key>inworld</key>
<integer>38574</integer>
<key>inworld_updated_unix</key>
<integer>1265100605</integer>
<key>inworld_updated_slt</key>
<string>2010-02-02 00:50:05</string>
</map>
</map>
</llsd></nowiki>


=== Newline-seperated key-value pairs, with timestamps ===
=== Newline-seperated key-value pairs, with timestamps ===

Revision as of 01:59, 2 February 2010

Homepage stats feed

XML feed

http://secondlife.com/xmlhttp/secondlife.php

Example Response:

<stats> 
     <status>ONLINE</status> 
     <signups>18,072,648</signups> 
     <logged_in_last_60>1,404,640</logged_in_last_60> 
     <transactions>3,065,550</transactions> 
     <inworld>38,836</inworld> 
 </stats>
Parameter Data type Description
status string ONLINE when the grid is online. (What other values are presented?)
signups comma delimited integer number of Resident accounts that are open and in good standing; updated daily
looged_in_last_60 comma delimited integer number of Resident accounts that have logged in in the past 60 days; updated daily
transactions comma delimited integer amount of resident-to-resident L$ transactions for past 24 hours divided by the average LindeX exchange rate for past 24 hours; updated every 30 minutes
inworld comma delimited integer number of Resident accounts currently logged in; updated every 3 minutes

LLSD feed

http://secondlife.com/xmlhttp/homepage.php

Each key pair has additional dates associated indicating when the data was updated in UNIX time and SL time (Pacific Time).

Example:

<llsd> 
 	<map> 
 		<key>stats</key> 
 		<map> 
 			<key>signups</key> 
 			<integer>18072841</integer> 
 			<key>signups_updated_unix</key> 
 			<integer>1265100902</integer> 
 			<key>signups_updated_slt</key> 
 			<string>2010-02-02 00:55:02</string> 
 			<key>logged60</key> 
 			<integer>1404640</integer> 
 			<key>logged60_updated_unix</key> 
 			<integer>1265097599</integer> 
 			<key>logged60_updated_slt</key> 
 			<string>2010-02-01 23:59:59</string> 
 			<key>transactions_us$</key> 
 			<integer>3065694</integer> 
 			<key>transactions_us$_updated_unix</key> 
 			<integer>1265100936</integer> 
 			<key>transactions_us$_updated_slt</key> 
 			<string>2010-02-02 00:55:36</string> 
 			<key>transactions_us$_freshness_unix</key> 
 			<integer>1265097624</integer> 
 			<key>transactions_us$_freshness_slt</key> 
 			<string>2010-02-02 00:00:24</string> 
 			<key>inworld</key> 
 			<integer>38574</integer> 
 			<key>inworld_updated_unix</key> 
 			<integer>1265100605</integer> 
 			<key>inworld_updated_slt</key> 
 			<string>2010-02-02 00:50:05</string> 
 		</map> 
 	</map> 
 </llsd>

Newline-seperated key-value pairs, with timestamps

(for llHttpRequest())

http://secondlife.com/httprequest/homepage.php

LindeX data feeds

LLSD-formatted XML
http://secondlife.com/xmlhttp/lindex.php
Newline-separated key-value pairs for llHttpRequest()
http://secondlife.com/httprequest/lindex.php

The LindeX feeds are updated every 15 minutes and include one set of timestamps.

Source