Skip to content

moonburnt/hscp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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