#API
1 messages ยท Page 1 of 1 (latest)
API access was discontinued quite a while ago. Trophy Support can explain/ elaborate.
so I can't create bots?
There are some bot peeps around here. Maybe they will assist you.
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
There are various route bots already.
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
Uncle @latent kraken ken you scheck zis out and gib ze guy some helps?
I'm not your uncle, my son. ๐
I'll take a look!
Me no no Botpro. ๐
a file with data on the number of passengers in each hub
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.
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.
I have enough computing power to make my project work
Then ask the developer of the bot if you can support him.
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.
I tried but I run out of patience with this stuff and selectively forget things.
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.
That's exactly the bug right now. The bot won't generate routes for HIR when playing Realism!
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
You can do a ferry flight.
I'm pretty sure but not a normal route.
Unable to ferry a A380 into my base due to RWY requirement. Despite the fact that the aircraft was delivered there, ferried to another hub but not able to return
So how do I find the passenger data file in each hub?
you can host the discord bot and/or a web api yourself, the detailed documentation to set it up can be found here:
https://cathaypacific8747.github.io/am4/development/web-api/
let me know if you have any other questions