You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

sgqlc-schemas

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sgqlc-schemas

A set of schemas for sgqlc package

0.1.0
pipPyPI
Maintainers
2

PyPI version

About

This package was created so that when using sgqlc (Simple GraphQL Client) you do not need to create schemas for popular APIs.

How to use

Installation

You can install this package either via the Python Package Index (PyPI) or from source.

To install using pip:

$ pip install -U sgqlc-schemas

Import schema and simple query

from sgqlc.endpoint.http import HTTPEndpoint
from sgqlc.operation import Operation
from sgqlc_schemas import github_schema

op = Operation(github_schema.query_type)
op.viewer().login()
endpoint = HTTPEndpoint('https://api.github.com/graphql', {'Authorization': f'bearer {token}'})
data = endpoint(op)

Current schemas

  • GitHub
  • Monday.com

Contribution

This package welcomes any new contribution. Please create pull requests on GitHub.

Keywords

sgqlc

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.