JSON with Bearer Authorization

Posted on
Tue Nov 03, 2020 2:43 pm
roquej offline
User avatar
Posts: 608
Joined: Jan 04, 2015
Location: South Florida, USA

JSON with Bearer Authorization

Can get this to work! Looking for instructions on how to connected to a JSON source with bearer authentication.

Any help would be greatly appreciate it.

JP

Posted on
Tue Nov 03, 2020 2:53 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: JSON with Bearer Authorization

You're probably going to need to write a Python script that fetches the data and writes it to a CVS data file.

Here's an example of doing the data fetch: https://stackoverflow.com/questions/299 ... arer-token

And to write the data: https://stackoverflow.com/questions/187 ... son-to-csv

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Nov 03, 2020 3:35 pm
roquej offline
User avatar
Posts: 608
Joined: Jan 04, 2015
Location: South Florida, USA

Re: JSON with Bearer Authorization

Thank you! will give that a try.

JP

Posted on
Tue Nov 03, 2020 3:42 pm
DaveL17 offline
User avatar
Posts: 6743
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: JSON with Bearer Authorization

Just to make sure I understand, you're looking to chart directly from a JSON data source? That's not possible with the plugin. It only works with CSV data sources.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Nov 03, 2020 3:50 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: JSON with Bearer Authorization

DaveL17 wrote:
Just to make sure I understand, you're looking to chart directly from a JSON data source? That's not possible with the plugin. It only works with CSV data sources.


Which is why I gave him a link to saving the JSON data to CSV. ;)

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Nov 03, 2020 4:29 pm
roquej offline
User avatar
Posts: 608
Joined: Jan 04, 2015
Location: South Florida, USA

Re: JSON with Bearer Authorization

I just thought about using the GhostXML plugin to write data to a file or using variable before charting. I wonder if it works with bearer auth...need to try that.


Sent from my iPhone using Tapatalk Pro

Posted on
Tue Nov 03, 2020 4:42 pm
DaveL17 offline
User avatar
Posts: 6743
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: JSON with Bearer Authorization

FlyingDiver wrote:
DaveL17 wrote:
Just to make sure I understand, you're looking to chart directly from a JSON data source? That's not possible with the plugin. It only works with CSV data sources.


Which is why I gave him a link to saving the JSON data to CSV. ;)


And you said 'probably'. :D

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Nov 03, 2020 4:43 pm
DaveL17 offline
User avatar
Posts: 6743
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: JSON with Bearer Authorization

roquej wrote:
I just thought about using the GhostXML plugin to write data to a file or using variable before charting. I wonder if it works with bearer auth...need to try that.


Sent from my iPhone using Tapatalk Pro

Let me know how it goes. GhostXML has a fair bit of support for different auth schemes, but it's not necessarily universal.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Nov 03, 2020 4:46 pm
roquej offline
User avatar
Posts: 608
Joined: Jan 04, 2015
Location: South Florida, USA

Re: JSON with Bearer Authorization




Sent from my iPhone using Tapatalk Pro

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests