/fusion-data-explorer

Enables users to explore Fusion Data API using GraphiQL component

Primary LanguageHTMLMIT LicenseMIT

Fusion Data Explorer

The sample is using this GraphiQL project that makes it really easy to discover the Fusion Data API

Setting up the app

In the terminal run this to install all the necessary components

npm i

You will need to set the value of clientId and clientSecret variables in index.js based on your Forge app's credentials and make sure that the CallBack URL of the app is set to http://localhost:3000/callback/oauth as shown in the picture
Get 3-legged token

Running the app

In a terminal, you can run the test with:

npm start

As instructed in the console, you'll need to open a web browser and navigate to http://localhost:3000 in order to log into your Autodesk account

Output

Once you logged in with your Autodesk account in the browser, this should appear:

GraphiQL

Now you can check the documentation

Docs

And run queries

Queries


Please refer to this page for more details: Fusion Data API Docs