Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 888 Bytes

File metadata and controls

34 lines (22 loc) · 888 Bytes

HSCP

Tests

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