If a web page / service does not offer an API for my programs to interact with the site, what libraries can I use to make my own API from the site I want to use Pyhton or some other tool?
If a web page / service does not offer an API for my programs to interact with the site, what libraries can I use to make my own API from the site I want to use Pyhton or some other tool?
It is always possible to create your own API
, since a web service is independent of the application you use, as well as it is independent of the programming language. Therefore you can have the web service (your api) programmed in Java and the app that consumes it in Python.
All you need is a server that hosts the web service to interact with the API
.
I recommend that you use REST
to build the servicio web
. And the libraries to use depends on the format of the response of the service, I advise you that your web service interacts with objects JSON
. Greetings