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

# 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

sg_api_py-0.1.3.tar.gz (3.5 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.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sg_api_py-0.1.3.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

Hashes for sg_api_py-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4e16bd36815e035de8d57436f014d8df3ce69ca3bae7bc183fc58f9b74b25700
MD5 5ef70aa606104fc1895ffd89cb39fdbf
BLAKE2b-256 7dd0d701664da9052e4257b9a58ebf1608ccb6ab98be0dc658332679cf77473f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sg_api_py-0.1.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: sg_api_py-0.1.3-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

Hashes for sg_api_py-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 85ffd892d278e9436314423d47f3db4b00902af7ad6236a6cf97eabac4a568b3
MD5 95035000b0b1bd3713a7b27c2219f0b2
BLAKE2b-256 342e70de5ac640cc8f0e407e16b32d04083f03a326f88f2f5c096a0d6dd5b96f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sg_api_py-0.1.3-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