getPilotData

Information about the VA integration pack
Post Reply
agarzon
Ticket Agent
Posts: 62
Joined: Mon Feb 11, 2008 7:34 pm
Location: Venezuela
Contact:

getPilotData

Post by agarzon » Thu Feb 17, 2011 3:58 am

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:
Image

agarzon
Ticket Agent
Posts: 62
Joined: Mon Feb 11, 2008 7:34 pm
Location: Venezuela
Contact:

Re: getPilotData

Post by agarzon » Wed Feb 23, 2011 3:44 pm

hello? :roll:
Image

alasizon
FSAirlines DB and Wiki Admin
Posts: 865
Joined: Tue Apr 08, 2008 2:08 am
Location: PHX

Re: getPilotData

Post by alasizon » Sat Feb 26, 2011 5:19 am

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
Matt-FSAirlines DB Admin
Image

Konny
FSAirlines Developer
Posts: 1564
Joined: Sun Sep 25, 2005 10:40 am
Location: Munich, Germany
Contact:

Re: getPilotData

Post by Konny » Tue Mar 08, 2011 6:34 pm

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.
Konrad - FSAirlines Developer
Image

Post Reply