Skip to main content

Client for fetching supercontest data

Project description

Supercontest Client

I have chosen to enable GraphiQL on southbaysupercontest because it is protected by auth and CSRF. It's a valuable tool for users. You may explore the data here.

There is a Python client to fetch your data programmatically, similar to gql. Simply pip install supercontest and then run a query like the following example:

import supercontest

query = """
{
  users (filters: {email_confirmed_at_lt: "2019-10-01T00:00:00"}) {
    edges {
      node {
        email
        first_name
      }
    }
  }
}
"""

data = supercontest.query(email='myemail@domain.com',
                          password='mypassword',  # your pw is encrypted over https
                          query=query)

Other heavy-handed solutions like Selenium also work. The endpoint simply requires auth and a CSRF token.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for supercontest, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size supercontest-1.0.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page