Added fetch draft

This commit is contained in:
kevinveenbirkenbach committed 2023-09-03 20:22:20 +02:00
1 parent 316343c6c2
commit 0f265ba381
2 files changed
+71 -19

No files matched your search

+44 -1
View File
@@ -1,2 +1,45 @@
# baserow-ifto
This repository contains the Input Filter Transform and Output scripts to work with baserow data
This repository contains the Input Filter Transform and Output (IFTO) scripts to work with Baserow data.
## Usage
### Fetching All Data from a Baserow Database
We have a Python script that allows you to fetch all data from a Baserow database using its API.
#### Requirements
- Python 3.x
- `requests` library. You can install it using pip:
```bash
pip install requests
```
#### How to Use
1. Clone this repository:
```bash
git clone https://github.com/yourusername/baserow-ifto.git
cd baserow-ifto
```
2. Run the script with the required arguments:
```bash
python fetch-all-data.py BASE_URL API_KEY DATABASE_ID
```
Replace `BASE_URL`, `API_KEY`, `DATABASE_ID` with the appropriate values:
- `BASE_URL`: Base URL of your Baserow instance, e.g., `https://YOUR_BASEROW_INSTANCE_URL/api/`
- `API_KEY`: Your Baserow API key.
- `DATABASE_ID`: ID of the Baserow database you want to fetch data from.
The script will then fetch all the data from the specified Baserow database and print it to the console.
## Contributing
If you have suggestions or improvements, feel free to open an issue or submit a pull request. Your contributions are welcome!