Skip to main content

Client library for HyScores.

Project description

HSCP

Description:

HSCP is a HyScores Client, written in Python. Its designed to be a simple and efficient library to use in your games.

Usage:

from hscp import HyScoresClient

client = HyScoresClient(
    # replace this with url of actually running instance of HyScores
    url = "http://example.com",
    # and this with name of your application
    app = "hyscores",
)

# If you arent registered on this instance yet
client.register("your_login", "your_password") 

client.login("your_login", "your_password")

# This will get list of scores already uploaded to server
print(client.get_scores())

License:

MIT

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

hscp-0.2.0.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.

hscp-0.2.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file hscp-0.2.0.tar.gz.

File metadata

  • Download URL: hscp-0.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/4.19.233-1-MANJARO

File hashes

Hashes for hscp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 79f105a787de78222855782b399269559988761c2c8474cc88004c3c3bc48cf4
MD5 b4987409d8be34996f536c8bed122eb9
BLAKE2b-256 0635f566ea4cd64d3893854eed6c43bc5440f81614271ac40d4fce38f34c5030

See more details on using hashes here.

File details

Details for the file hscp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: hscp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/4.19.233-1-MANJARO

File hashes

Hashes for hscp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09134967dfaa5d307b5fc80acfc9cea7fdca4ee458b76d97278174adff937dd5
MD5 6596d758fe726465b48697a126b1535a
BLAKE2b-256 940a0057878614201190f13b58be551fe6955b0836019d7923b3a98c602e8e2e

See more details on using hashes here.

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