How to request another site?

0

Hello, I'm having trouble making a code that I have in mind. It would be as follows.

I have a site that talks about the buses of my city and I am developing a code in php that looks for airbus and puts the line / route that it is.

To find the buses, I can see the link that is from my city.

They make bus requests through link in the post method.

Looking at the browser network the variables that I will use are:

  

routeId: "000" //// Line / route

     

vehicleId: "0000" //// Bus Prefix

     

vehicleLabel: "Terminal" //// Sense that the bus is going

     

project: "5w71c" //// indicates that the project is from my city

How do I create a code that searches all bus lines / routes for buses that I set? Scanning all lines / routes. For example:

  

If the search finds the vehicle 1308 to write in the table "Vehicle 1308   is on line 000 "

Please help me!

    
asked by anonymous 28.09.2018 / 04:55

0 answers