Client for fetching supercontest data via graphql
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-client and then run a query like the following example:
import supercontest-client as sbsc
query = """
{
users (filters: {email_confirmed_at_lt: "2019-10-01T00:00:00"}) {
edges {
node {
email
first_name
}
}
}
}
"""
data = sbsc.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file supercontest_client-1.0.2.tar.gz.
File metadata
- Download URL: supercontest_client-1.0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.10 Darwin/22.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4fde75648e56bca23478d6e11dd2351cca1b06e3cd6b8b50c9016963c7aa9aa
|
|
| MD5 |
fe8f053567068a37db34026f19fc243f
|
|
| BLAKE2b-256 |
f4b922c94d65b94475475a59a59537370e6c7997bf9fce0a21b30b1d86aa8a95
|
File details
Details for the file supercontest_client-1.0.2-py3-none-any.whl.
File metadata
- Download URL: supercontest_client-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.10 Darwin/22.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1634cfaa372a33e83b4261ac2ff9c78428285f25a79771a1bb09dd68ad72af21
|
|
| MD5 |
b3b92ce5989750f5a3fb378b56e21473
|
|
| BLAKE2b-256 |
6593278dd17769463a8a1fdace8758070a443601baf52fb14c6bad54865e9445
|