Skip to content

autodesk-platform-services/aps-data-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Explorer

The sample is using this GraphiQL project that makes it really easy to discover the various GraphQL APIs we provide

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 APS 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 You also need to set the dataEndpoint variable's value, which e.g. in case of the Fusion Data API is "https://developer.api.autodesk.com/fusiondata/2022-04/graphql"

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

About

Data Explorer:Let's you run queries for the various GraphQL APIs we provide

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published