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, 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.5.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.5-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sg_api_py-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 3898a253bb1a44e9f7d6e12f8a3da997f2fb89d5607c396513713bf32f27f987
MD5 2f06bf600b8a0fd79bd55714ed5358fa
BLAKE2b-256 544683ff60cce197fe7382c8bff03892f6d3705557bd27a1e598a326ba2a1d50

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: sg_api_py-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 662194c89a46fa57395f445f8154a9de46d0de12ab1c268237425a3bca328500
MD5 18efbce3ad33bb3bb0706337f2c26718
BLAKE2b-256 c12d23f8f6a7a1fbc57d0e7631a02106c83394e9417938600fad710941af96a1

See more details on using hashes here.

Provenance

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