alaingilbert/ogame

Get all planets of a player

elnappo opened this issue · 2 comments

Is there a way to get all planets of a given player? If not, how could this be implemented? Some browser extensions are able to show you all planets and moons of a player.

Hi

Yes you can use this: https://gist.github.com/psmolak/409d038fb4a9157aecf25c84110d5b55

So you can grab the universe.xml and players.xml and combine the data based on PlayerID.

Cheers

Or you can use:

http://server/api/playerData.xml?id=$id