ntt / eveapi

Python library for accessing the EVE Online API
Other
148 stars 57 forks source link

eveapi starbase detail not pulling correctly. #9

Closed ajurna closed 12 years ago

ajurna commented 12 years ago

when pulling the starbase detail its not getting the proper data. specifically with this case

auth = api.auth(keyID=keyID, vCode=vCode) s = auth.corp.StarbaseDetail(itemID=itemID) cs = s.combatSettings

cs.dict {'onCorporationWar': '', '_isrow': False, 'useStandingsFrom': '', 'onStandingDro p': '', 'onStatusDrop': '', '_name': u'combatSettings', 'onAggression': ''}

at the very least useStandingsFrom shouldnt be a string it should have a child named ownerID which is the owner of the standings the pos is using. this is quite a problem for any pos managers using these datails.

rjarry commented 12 years ago

Hello ntt :)

XML response from ccp looks like this:

<combatSettings>
    <useStandingsFrom ownerID="99000198"/>
    <onStandingDrop standing="0"/>
    <onStatusDrop enabled="0" standing="0"/>
    <onAggression enabled="0"/>
    <onCorporationWar enabled="1"/>
</combatSettings>
ntt commented 12 years ago

thanks :) fix pushed, should work now

rjarry commented 12 years ago

Thank you for the so fast reaction ntt :)

you rock <3

btw: if you were interested to eve-corp-management we've moved off from google to our own site http://eve-corp-management.org

o/

ntt commented 12 years ago

<3