Skip to content

pybfbc2stats v0.7.0

Choose a tag to compare

@cetteup cetteup released this 01 Dec 15:52
· 35 commits to main since this release

This is the v0.7.0 release of pybfbc2stats.

Note: Almost all code related to packet data handling has been rewritten. The structure of data returned by "public"/documented methods has not changed. However, values within those structures are now parsed to their respective types. Consider this a breaking change if your code relies on e.g. all dictionary values being returned as string.

Example

# Response of client.lookup_usernames before
{
    'namespace': 'XBL_SUB',
    'userId': '987817822',
    'userName': '"K5Q Blan"',
    'xuid': '2533274872524999'
}

# Response of client.lookup_usernames now
{
    'namespace': 'XBL_SUB',
    'userId': 987817822,
    'userName': 'K5Q Blan',
    'xuid': 2533274872524999
}

Full Changelog: v0.6.4...v0.7.0