Skip to content

nodecross/studio-graphql-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NodeX Studio GraphQL API Example

This Python and Node.js scripts generates a JWT and uses it to make a GraphQL API request.

Python

Requirements

  • Python 3.7 or higher
  • pyjwt for generating JWT
  • requests for sending HTTP requests

Installation

Install the required packages:

cd python
pip install -r requirements.txt

Usage

  1. Write your API Client ID and Secret in _key.py.
  2. Run the script you need, for example:
python projects.py

Make sure to include any required IDs in the script before running it.

Node.js

Requirements

  • Node.js v18 or higher
  • jsonwebtoken for generating JWT

Installation

Install the required packages:

cd nodejs
npm install

Usage

  1. Write your API Client ID and Secret in _key.js.
  2. Run the script you need, for example:
node projects.js

Make sure to include any required IDs in the script before running it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published