Is it possible to make my own API from a site that does not have an API with Python?

1

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?

    
asked by Andrés Muñoz 28.02.2016 в 08:51
source

1 answer

1

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

    
answered by 28.02.2016 в 23:46