I'm using instagrapi which revolves around python:
from instagrapi import Client;
app = Client()
app.login('username', 'password')
medias = app.user_medias('user_id')
print(medias)
Now, the python app returns an application/json
response, which I'd like to use in my typescript app.
The main question is: How do I link python to a typescript app?
I'd like to receive my response from python which I want to use in the typescript app. I'm looking for ideas / methods to do so.
I wanted to use sqlite as a medium to transfer data, but as the app would be used by at least 100 users, sqlite wouldn't be a consistent way to get the job done