[Opensim-dev] Webrequest to presence service or other robust services.

Justin Clark-Casey jjustincc at googlemail.com
Tue Nov 20 04:42:01 UTC 2012


I'm assuming you mean getagents, which takes user IDs.  There is a separate getagent call which confusingly requires a 
session ID instead, which I imagine is less useful for your purposes.

I quickly documented the getagents call at [1].  As with pretty much all such calls, they were originally 'designed' for 
a particular simulator need and so can be inconsistent and a bit funky to call.  However, they have the advantage of 
being pretty much guaranteed to work, since a bug here is also likely a bug for the simulators.

There is also a generic services page at [2] with links to information on call methods on some other services.  The 
pages available at [2] also have some PHP/Python examples.

[1] http://opensimulator.org/wiki/PresenceService
[2] http://opensimulator.org/wiki/Services

On 18/11/12 19:01, Michelle Argus wrote:
> Hi
>
>   I would like to do a "getagent" request to the presence service (or later to other services) via a webapplication
> using php. Has anyone got a working example in php?
>
> I have tryed some scripts without any success. I have tryed using xmlrpc similar to the test example in the groups
> module ( https://github.com/mcortez/flotsam/tree/master/flotsam/Servers/XmlRpcGroupsServer/ ) and I also tryed using the
> php example used by RemoteAdmin. Any ideas?
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>


-- 
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc



More information about the Opensim-dev mailing list