Assuming that the background of an app is written by PHP, can you now write a data-calling interface to the app in Python?
Requirements: Query an order to enter an order ID that can be queried for specific information about the order. Returns a JSON-formatted dict.
Reply content:
Assuming that the background of an app is written by PHP, can you now write a data-calling interface to the app in Python?
Requirements: Query an order to enter an order ID that can be queried for specific information about the order. Returns a JSON-formatted dict.
It doesn't matter what language is written in the background, all you need is a network access library. such as CURL.
As said upstairs, the API of the app is not related to the language, you can write the API with PHP, you can see the restful
Recommend the same company to develop a unified language, or you will find a pile of pits, often to adapt, to the United, to debug together, efficiency is fundamentally not going.
There's something called thrift, dedicated to exchanging data between different languages.
This is the framework that the company had before, and the data interaction between Python and Nodejs