LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2014, 05:56 AM   #1
gaa100
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Rep: Reputation: Disabled
Curl command, Json data to excel


Hi there,

I'm using the curl command to get data behind a graph on a website.

Code:
curl -k -u 'sensor:xxxxx' 'http://website&json'
This returns it as a json object in the terminal window which I'm not familiar with.

What I would like to do is to write the data into a text file that I can import into excel etc.

Would anybody be able to advise me how to do this?

I've tried writing it to a text file. Is this correct? where does the file get saved to?

Code:
curl -k -u 'sensor:xxxxx' 'http://website' -o output.txt
thanks
 
Old 08-12-2014, 08:46 AM   #2
gaa100
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
any suggestions?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Curl command, Json data to excel gaa100 Linux - Newbie 3 08-13-2014 07:52 AM
Google Places API JSon Data trscookie Programming 1 12-08-2013 04:13 PM
How to copy Arabic data from excel fiel to another excel file in PERL? David the H. Linux - Newbie 0 04-23-2012 10:24 AM
[SOLVED] cURL POST data command from shell returns HTTP Error Code 408 fyndr Linux - Software 3 03-04-2011 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration