#πŸ”’ APIs

13 messages Β· Page 1 of 1 (latest)

hardy radish
#

I was just curious about something. Let's say there is some API, can you use any programming language to interact with that API or must the company providing that API provide the library for that specific language? I mean, isn't the whole reason for the existence of things like json and protocol buffers so that you can exchange data in a language agnostic way?

Furthermore, I read about something called websockets . So if an API delivers information over websockets does that mean any programming language that has an implementation for websockets is able to interact with that API?

feral plumeBOT
#

@hardy radish

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

dusky grail
#

well, API is a way too general term

#

e.g. a photo editing software provide a library to interact with the application can also be an API, they can only provide a library in a specific language

#

and if you can use other language would be depend on how their underlying behaviour / if other people create a bridge

#

and yes, technically if the info is running through websocket, if you know the structure on how data are sent and received, it can be implement in any programming language
-# Disclaimer: They must at least support websocket and to encode/decode to the input/output

dusky grail
#

because they are all running through the network, and if you know the schema, you can just do it yourself in other language

#

@hardy radish any more question?

hardy radish
dusky grail
#

!close to cllose the post

feral plumeBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.