I have a RESTful API that I hosted on Heroku:
https://newsaggrarab.herokuapp.com/getSpecCountries
This retrieves me my data from my MongoDB mLab database in JSON format and I was able to use it just fine in Qlik Sense to create visualizations. However, I can't connect to this API in Tableau Desktop and haven't found any helpful guides on the internet. I just want to retrieve this data and use it in my Tableau Desktop visualizations.
Thanks in advance
Tableau implemented a 'Web Data Connector' in version 9 which might be a good route for you. It requires that you write some code (JavaScript, I believe) in order to create your own Web Data Connector to bring in your JSON data.
Here is a great resource to start your search. Here is a link to the WDC community. There are plenty of examples and even a code simulator.
Related
In brief I have some json files which I would like to have publicly available as databases for anyone to make queries on. The querying should be via a REST API. All this needs to be done using Azure.
What might be the fastest/simplest way of doing this? I have researched things like json-server, Azure's Cosmos DB, and so on, but everything seems to be either not what I'm asking for or way too much.
Any help or pointers in the right direction would be appreciated.
Thanks!
Have you looked into Azure Blob Storage? Each of the blobs is essentially a file that is stored in Azure which you can house Json data.
https://azure.microsoft.com/en-us/services/storage/blobs/
Then you can layer NoDb (https://github.com/cloudscribe/NoDb/blob/master/README.md), or something similar, in a repository on top and expose with Web API. You will need to write a custom storage path resolver to connect to Azure (https://github.com/cloudscribe/cloudscribe.SimpleContent/blob/master/src/cloudscribe.SimpleContent.Storage.NoDb/PostStoragePathResolver.cs). This approach would not scale very well for high throughput applications but could be switched out for EF and a bigger document store (i.e. CosmosDb) later without having to adjust your API layer.
I know this kind of question is ask in many different ways, and I know that's annoying for answering so much same question, but as I google it, search in Stackoverflow I can't really find a nice answer, the answer I'm asking is based on views like easy for answering API request (which is in JSON format) and in the view of I'm designing Node.js APP
So here is my case
I'm building my own Node.js application somehow like a CMS or blogging platform so imagine I need a place to store all my posts data where should I store in a MySQL database or External JSON file it's quite confusing I personally prefer JSON since it's nice looking (?) but it's quite hard to use fs.writefile and fs.readfilesync to update data in the external JSON, but I don't know how to make an API that will give the post data by MySQL database since the API is in the JSON format
If I have any misunderstood please tell me
if you want to store data in json then go form nosql database like mongodb. Postgresql latest versions also supports JSON data types.
Maybe what you need is ORM module, for example sequelize
It works with MySQL/Postgres, and offers you APIs like MongoDB.
I have recently pulled multiple JSON files from a SQL database and I would like to load them into my Google Datastore. Can anyone suggest the best way to go about this. I have read the docs and they detail how to create entities but I cannot determine how to do a bulk data load. Any tips or tricks would be welcome.
Two years later and no answer! The key to doing this right now, in 2017, seems to be the new Dataflow thing in Google Cloud. There are SDKs for both Java and Python, but it's still so new I'm using the Java SDK, the 1.9 version. I've adapted two of the examples and have it putting data into the Datastore. It seems to play nice with namespaces so far, but it's a little difficult to make fields with parent/child relationships.
I am trying to convert a JSON string to a SOAP web service.
The scenario is: I have a web service in java requesting information from a pl/sql. So everytime the java web service requests something from the pl/sql server the data come as JSON.
Before i start to try to develop a SOAP webservice from the scratch i decided to ask here if exist any simple way to convert the JSON to a SOAP.
Best regards,
I know of a simple way, but it's not free. There is a product on the market from a company called Layer 7 that handles all sorts of conversions like this. Again, this is not a cheap solution, but it is very good at it. With any luck, you'll find a more open source way, but I don't know of any of those.
We would like to hook up an iPhone app directly to a database in the cloud. From the iPhone app, we would like to use some REST API to retrieve data from the cloud database. We prefer using MySQL or Mongo as the data store.
We prefer not setting up our database system on AWS or another hosted provider. We would like a cloud service that offers the database layer out of the box.
What database-as-a-service companies support this, and what are the pros/cons of each?
We looked around, and it seems like MongoLab is the only service offering a REST API.
Mongo is a great database for API interaction as the query language uses javascript expressions. Here are the open source API libraries that are implemented in Python
Sleepy Mongoose
Eve
Primary advantage
JavaScript can handle the querying part of data retrieval
Primary disadvantage
The API libraries above have difficulty capturing complex queries