Page 1 of 1

getPilotData

Posted: Thu Feb 17, 2011 3:58 am
by agarzon
Well about getPilotData I have some questions and suggestions.

In this example, I need more information about data in red
Array
(
[id] => XXXX
[name] => Alexander
[surname] => Garzon
[user] => agarzon
[va_user] => TCA7988
[rank_id] => 18965
[location] => svva
[budget] => 32903240
[lastactive] => 1297910882
[active] => 0
[sigac] => VA_3908_261
[timezone] => America/Caracas
[weightunit] => lbs
[language] => es
[msgmail] => 1
[flights] => 704
[rating] => 69725
[hours] => 5410.7833218798
[distance] => 2443313
[pax] => 214905
[cargo_kg] => 20151268
)

And in suggestions:

Include the photo profile and rank (student, ceo, etc) in the array

I'm right? :roll:

Re: getPilotData

Posted: Wed Feb 23, 2011 3:44 pm
by agarzon
hello? :roll:

Re: getPilotData

Posted: Sat Feb 26, 2011 5:19 am
by alasizon
Your rating is the total of all your flight ratings (a maximum of 100 per flight).
SigAC is the aircraft id that is listed in your signature.

The other two I'm clueless on

Re: getPilotData

Posted: Tue Mar 08, 2011 6:34 pm
by Konny
agarzon wrote:Well about getPilotData I have some questions and suggestions.

In this example, I need more information about data in red
Array
(
[id] => XXXX
[name] => Alexander
[surname] => Garzon
[user] => agarzon
[va_user] => TCA7988
[rank_id] => 18965
[location] => svva
[budget] => 32903240
[lastactive] => 1297910882
[active] => 0
[sigac] => VA_3908_261
[timezone] => America/Caracas
[weightunit] => lbs
[language] => es
[msgmail] => 1
[flights] => 704
[rating] => 69725
[hours] => 5410.7833218798
[distance] => 2443313
[pax] => 214905
[cargo_kg] => 20151268
)

And in suggestions:

Include the photo profile and rank (student, ceo, etc) in the array

I'm right? :roll:
The rank id is the id of the pilot rank which can be used in conjunction with the getRankList() function.

active is a value which is used to remind pilots who haven't been active in the last 60 days. This turns from 0 to 1 60 after the last activity.

sigac is the filename of the signature aircraft. The full path in your example would be: http://fsairlines.net/pics/aircrafts/VA_3908_261.jpg

rating is like alazison said the total of all flight ratings.

Hope this is enough info to get along. I'll put your requests on the list and implement them when I get some spare minutes.