Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Using a Python API

by davido (Cardinal)
on Jul 19, 2021 at 14:58 UTC ( [id://11135170]=note: print w/replies, xml ) Need Help??


in reply to Using a Python API

An API that exposes the language of implementation isn't a very good API. And an API that requires you to automate scraping the GUI isn't an API at all. What is going on here? Is the "api" really just a Python library? Is it REST? JSON over HTTP (not quite REST), RPC, GRPC, or what?


Dave

Replies are listed 'Best First'.
Re^2: Using a Python API
by Anonymous Monk on Jul 19, 2021 at 16:14 UTC
    Nonetheless, Python is by far the most common language that I find in "program scripting" situations, outside of the strictly-Microsoft world.
      Nonetheless, Python is by far the most common language that I find in "program scripting" situations

      Yes, that's the new fad currently that all new college students are being taught.

      That's not the point Dave's trying to make here though.

        I must have been ineffective in explaining. APIs are things that software communicates with, and often are designed to not care about the language of implementation of their consumers. Unless the reason for using a Python library within Perl is so that the OP doesn't have to write a new API adapter, it's not likely that the language of implementation of the API and the language of implementation of the consumer should matter.


        Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11135170]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found