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:
Project details
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
hscp-0.2.0-py3-none-any.whl
(3.3 kB
view hashes)