I want to get data out of DOMO and send back to database

Hi Everyone,
There is a card in domo which updated daily from a manual csv upload. I want the card data to get out of DOMO and write it to a table in the database. Is it possible? I heard we can use python to grab the data from DOMO. If so, where can I find the possible scripting? Thank you
Best Answer
-
We were able to leverage the domoR package as well as the Python to retrieve Domo data and save to a MSSQL database, just depends on your preference. Fairly certain they all hit the same API endpoints.
Using Python, we used pypyodbc to create a database connection, and then execute an insert statement into the appropriate table.
This is Domo's official example for exporting a dataset using Python: https://github.com/domoinc/domo-python-sdk/blob/master/examples/dataset.py
0
Answers
-
This isn't an elegant solution but offering something since noone has responded.
You could use the Selenium library (control web browser) to go login to Domo and download a CSV and then use an Excel library such as openpyxl to interact with said CSV. May or may not work for you but it's something.
The link to the Python SDK for Domo is HERE but I don't see anything about interacting with the data.
**Make sure to like any users posts that helped you and accept the ones who solved your issue.**0 -
We were able to leverage the domoR package as well as the Python to retrieve Domo data and save to a MSSQL database, just depends on your preference. Fairly certain they all hit the same API endpoints.
Using Python, we used pypyodbc to create a database connection, and then execute an insert statement into the appropriate table.
This is Domo's official example for exporting a dataset using Python: https://github.com/domoinc/domo-python-sdk/blob/master/examples/dataset.py
0
Welcome!
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 308 Workbench
- 6 Cloud Amplifier
- 10 Federated
- 3.8K Transform
- 660 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- 780 Automate
- 191 Apps
- 482 APIs & Domo Developer
- 84 Workflows
- 23 Code Engine
- 41 AI and Machine Learning
- 21 AI Chat
- 2 AI Projects and Models
- 18 Jupyter Workspaces
- 414 Distribute
- 122 Domo Everywhere
- 281 Scheduled Reports
- 11 Software Integrations
- 146 Manage
- 142 Governance & Security
- 8 Domo Community Gallery
- 49 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 4.8K Archive