Open 1geek0 opened 2 days ago
I tried to convert this in typescript and added the code but couldn't retreive the table, is table is live with named 'Patient Relevant Resources'
No need to convert to Typescript. You can run it as python script. Since we don't need to actively keep doing it. It's an occasional script we need to run
There is a table named 'Patient Relevant Resources' in the airtable
The above script is an example. It works as it is
I think we have to convert it into typescript or else it will be an addition of virtual environment to download the packages in the .py file, which i just tried it now and I feel it is good to have all in same stack
Just use python. We don't need to run it in typescript. It keeps things simple. This script does not integrate with the rest of the codebase
I need MONGODB_DB_NAME: The name of the database you want to use. MONGODB_COLLECTION_NAME: The name of the collection where the data will be stored
Write a script to pull the airtable data into mongodb.