#API

1 messages ยท Page 1 of 1 (latest)

vestal breach
#

can I get API so I can make a bot? if so where or how to contact the person

timber mirage
#

API access was discontinued quite a while ago. Trophy Support can explain/ elaborate.

vestal breach
#

so I can't create bots?

timber mirage
vestal breach
#

I found in the files the names of the airports, their locations, etc. Do you know if I can find data somewhere on the number of passengers in all the hubs so I could add it to Excel?

#

I only need passenger data

timber mirage
#

There are various route bots already.

vestal breach
#

I understand you, but I have a project that will do it better for me and I only need to know where to find the file with the data on how many passengers are in the hub

timber mirage
#

Uncle @latent kraken ken you scheck zis out and gib ze guy some helps?

latent kraken
timber mirage
vestal breach
latent kraken
# vestal breach I understand you, but I have a project that will do it better for me and I only ...

Then I'll take care of your question.

Task 1: Very simple:
Google
Search for "am4 bot discord"
=> 1, result: cathaypacific8747/am4.
What a miracle we are presented with. The bot, this Discord!

Task 2: Search the directories. Somewhere you will find .parquet files.

That's right, that's the data you need.

Task 3: Convert data for your own purposes.

Question: Why develop a new bot? Ask the developer if you can help.

latent kraken
# vestal breach a file with data on the number of passengers in each hub

It doesn't work like that. There are about 3907 airports and from each airport there are routes with defined demands.
So you have a triangular matrix with
3907 departures and 3906 destinations behind which the demands Y, J, F are.
So a total of 7,630,371 routes!
Then you have to take into account runway lengths, the aircraft and their speeds, etc.

vestal breach
#

I have enough computing power to make my project work

latent kraken
#

Oh @timber mirage I still have to write to the developer that the bot in realism mode doesn't show routes that are possible in the game. Thanks for the reminder.

timber mirage
#

Fact is that rwy-reqs do not apply to RM planes operated out of any hub, regardless of rwy length.

#

so I can fly a B748 out of a grass field with 2000ft as long as the destination has 10250ft.

latent kraken
timber mirage
#

Additionally, I can buy and base a plane to any owned hub, operate it out of that hub, but never ferry it back there due to rwy req.

#

That... is bass ackwards

latent kraken
timber mirage
vestal breach
#

So how do I find the passenger data file in each hub?

terse drum
#

let me know if you have any other questions