Skip to main content

A simple package for using the ScoreUnlocked leaderboard system running at scoreunlocked.pythonanywhere.com

Project description

Package for ScoreUnlocked API

This is a simple package for using the ScoreUnlocked Leaderboard System.

If you have not done already, you can click here to create a ScoreUnlocked developer account

You can use this package by installing it from PyPi. To do so, type the following in the terminal:

pip install scoreunlocked

Once ScoreUnlocked is installed, you can use it as:

import scoreunlocked

client = scoreunlocked.Client()  # instantiating the client
client.connect('developer_name', 'leaderboard_name')

# to get leaderboard from server [returns None if not found or errors occurred]
client.get_leaderboard()

# to post a score to the server
client.post_score(name='name', score=100, validation_data='<data to validate score>') 

That's all you need to know for setting up a basic leaderboard.

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

scoreunlocked-0.0.2.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.

scoreunlocked-0.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file scoreunlocked-0.0.2.tar.gz.

File metadata

  • Download URL: scoreunlocked-0.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for scoreunlocked-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e729231f6afdbe0d42fa630e243a2b979b019329c1738d030f128059c60d6abb
MD5 200616d6f6535d7a8c67faa9a7733f1a
BLAKE2b-256 7f853d2f827b8f291a305f8d1a80d133a5ba68de1a468c527a147d1dadbdd609

See more details on using hashes here.

File details

Details for the file scoreunlocked-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: scoreunlocked-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for scoreunlocked-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 93bb43f3e43ff4dee357c2de8cb1a8c60ec72f76f2fda7a59b73fb91d8f5dc47
MD5 b8e64fed8fc9cf11bffe6bb9810657c3
BLAKE2b-256 e0175fc9dd8395891b30bedeffbcd0f798c296f1bc9332dfd7cbbb31e79b7f13

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