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.1.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

hscp-0.1.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

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