Skip to content

chain-io/portal-graphql-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chain.io Portal GraphQL API Examples

This site has code examples for accessing the Chain.io portal API.

This is the API you would use to perform administrative functions for Chain.io including things like

All of the examples assume that you pass your Chain.io API Keys CLIENT_ID and CLIENT_SECRET in to your process as an environment variable like:

CLIENT_ID=ABC CLIENT_SECRET=secretpass node ./examples/getAttachment.js

Scripts may have some basic dependecies that you'll need to install like got, lodash, request, etc. See the import statements at the top of each script.

Getting and using an API Key

To request an api key, email [email protected] and include the email address of an existing Chain.io user as well as a link to the company page for the company you'd like access to.

For more information on accessing the API, see this help article

To explore the API visit https://portal.chain.io/graphql (You must log into the Chain.io portal to access this page).

About

Sample code for accessing the Chain.io portal-api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published