question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Programmatically export data

See original GitHub issue

Hi!

Scenario

Problem

Insomnia Documenter uses the export json file to create a nice looking documentation: https://api.projectalice.io/ . This json file can be obtained by exporting the Insomnia data as in: application => preferences => data => export, but not programatically using inso cli. This leads to me having to pull the latest changes made by the team, daily, export the data and upload it to my webhost.

Possible solutions

  1. CLI command to export the data, in the inso npm package. This would allow Github actions to install the CLI and export the data in the desired format.
  • PROS: integrated
  • CONS: one more step
  1. The Insomnia “push” function does, if setting enabled to, export the data and include them in the commit/push
  • PROS: totally transparent, no extra steps, awesome
  • CONS: not intuitive as includes extra data to a commit without the user to be really aware of it. Would also need branch settings and others.
  1. Have insomnia documenter use not the exported data, but the raw data available on Github
  • PROS: Nothing for you guys to do, works out of the box
  • CONS: Unlikely to happen as the documenter dev is very busy
  1. Feel free to add in comments

Benefits

Having such a function would allow a totally automated workflow when pushing new data on the API repo, allowing everyone to generate nice documentation without any hassle. I must say, it competes easily with Postman

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
smacktoidcommented, Jan 21, 2021

That is interesting. Hadn’t realised the designer could be used in that way.

Unfortunately issue 2639 means I can’t use git sync with our corporate git repository, but if that ever gets resolved it looks promising.

1reaction
nijikokuncommented, Dec 14, 2020

I think this is definitely something suited for Inso, as we have export functions for Designer but not Core.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Export Data Programmatically - MATLAB & Simulink
Export Data Programmatically ... Database Toolbox™ enables you to analyze data and export the results. To export data from the MATLAB workspace, use...
Read more >
Call URL export programmatically
You can dynamically export data from a script or web service by calling a URL export from any programming language.
Read more >
How to export data programmatically in Episerver.
Episerver provides us with a great GUI tool to export data from within the application. The idea is that you select your root...
Read more >
Exporting Reporting Data Programmatically - Marketing Nation
Hi All,. I find the reporting in Marketo to be less flexible than I want bc I need to tie the email data...
Read more >
How to programmatically export data from segment statistics?
I use segment statistics to generate a table of all the information I need. My question is how can I export the table...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found