Skip to main content

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, read the documentation.

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

sg_api_py-0.1.6.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sg_api_py-0.1.6-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file sg_api_py-0.1.6.tar.gz.

File metadata

  • Download URL: sg_api_py-0.1.6.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sg_api_py-0.1.6.tar.gz
Algorithm Hash digest
SHA256 66ca624b16f22b2e0281c2fac0bf713ff66e1e26a9e54e05c65561e6e40271b4
MD5 5990f9c26d5098338c0124ce9a3ceb09
BLAKE2b-256 29ed872a076ce2677a7fc5350f519ef6724beccb8fc84bc2d9d807c9853864ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for sg_api_py-0.1.6.tar.gz:

Publisher: python-publish.yml on stainlesteel/sg_api.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sg_api_py-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: sg_api_py-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sg_api_py-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c4f45c891f34379ea10052b49005838be29b05d1c2a8154f852e4f6d891fb896
MD5 6f9a8bc63c68f360b7ea92e5efee5744
BLAKE2b-256 2f40a70357d4a5abf0ba2a58ae38fe442af80724480593724bf97fb256c41f62

See more details on using hashes here.

Provenance

The following attestation bundles were made for sg_api_py-0.1.6-py3-none-any.whl:

Publisher: python-publish.yml on stainlesteel/sg_api.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page