A python API wrapper for the Squid Game API
Project description
sg_api.py
An API wrapper for the Squid Game API.
A simple way to extract JSON content from the Squid Game API.
You can either get character content or episode content, and filter out specific key:value pairs.
Warning
Some JSON files you fetch may have invalid headers leading to an error. If this occurs, open an issue on the GitHub.
Usage
import sg_api_py
from sg_api_py import characters, episodes
# This package uses return statements instead of print
print(characters(1, 218, "title"))
# Cho Sang-woo
print(episodes(1, 4, "title"))
# Stick to the Team
For more info, wait for the documentation or read the source code (100 lines)
Installation
You can easily install via PIP.
pip install sg_api_py
Other Information
Licensed under the MIT License.
Credits:
BeautifulSoup: for easy HTML extraction
Squid Game Fandom: for providing information about Squid Game
Project details
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 sg_api_py-0.1.4.tar.gz.
File metadata
- Download URL: sg_api_py-0.1.4.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
beb6cec0f32a070b62f3d881ccc08d76092978560a56599483d44451ce081671
|
|
| MD5 |
acc3ae76a18c5e657c52ee36d4bb1f60
|
|
| BLAKE2b-256 |
8030b6514c448eaf909c58923f836db83d5978c8e619c37351d7aeea67c39f9b
|
Provenance
The following attestation bundles were made for sg_api_py-0.1.4.tar.gz:
Publisher:
python-publish.yml on stainlesteel/sg_api.py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sg_api_py-0.1.4.tar.gz -
Subject digest:
beb6cec0f32a070b62f3d881ccc08d76092978560a56599483d44451ce081671 - Sigstore transparency entry: 278263038
- Sigstore integration time:
-
Permalink:
stainlesteel/sg_api.py@fae8d6aaf7e023ac948bf1e6a7a957627d3142fb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/stainlesteel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fae8d6aaf7e023ac948bf1e6a7a957627d3142fb -
Trigger Event:
push
-
Statement type:
File details
Details for the file sg_api_py-0.1.4-py3-none-any.whl.
File metadata
- Download URL: sg_api_py-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caa28eb68d0d59b233f5bad68aee929c7a3d00d945775db03980454c2cb08b42
|
|
| MD5 |
e6c87dc4b028bdfac489a2e978beba59
|
|
| BLAKE2b-256 |
3fd5699fcd53cb6dd775668e4b4399b4a2064ebaf45504173d8e2d24604d9bd6
|
Provenance
The following attestation bundles were made for sg_api_py-0.1.4-py3-none-any.whl:
Publisher:
python-publish.yml on stainlesteel/sg_api.py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sg_api_py-0.1.4-py3-none-any.whl -
Subject digest:
caa28eb68d0d59b233f5bad68aee929c7a3d00d945775db03980454c2cb08b42 - Sigstore transparency entry: 278263050
- Sigstore integration time:
-
Permalink:
stainlesteel/sg_api.py@fae8d6aaf7e023ac948bf1e6a7a957627d3142fb -
Branch / Tag:
refs/heads/main - Owner: https://github.com/stainlesteel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fae8d6aaf7e023ac948bf1e6a7a957627d3142fb -
Trigger Event:
push
-
Statement type: