Skip to content

A simple python package for ScoreUnlocked API for adding online leaderboards to games

License

Notifications You must be signed in to change notification settings

tank-king/scoreunlocked

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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) 

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

Advanced Tutorial

[TODO]

About

A simple python package for ScoreUnlocked API for adding online leaderboards to games

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages