lolclient-lib


Namelolclient-lib JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/olivialba
SummaryBasic package to send and receive requests from the League of Legends client
upload_time2023-10-25 06:30:47
maintainer
docs_urlNone
authorAlbaq (Alberto Olivi)
requires_python
licenseMIT
keywords python league of legends lol client lcu riot
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # lolclient_lib
Basic package to send and receive requests to the League of Legends client.

## Installation
`pip install lolclient-lib`

## How to use
```
from lolclient import *

reqInfo = clientInfo()
```
`clientInfo()` will return the basic url and authorization header needed to send POST and GET requests.
Always put `reqInfo` as the first parameter for every method.

## Example
```
from lolclient import *

reqInfo = clientInfo()
createLobby(reqInfo, Lobby.DRAFT)
startMatchmaking(reqInfo)
```
Automatically creates a normal draft lobby, and starts the matchmaking.

### More examples:

`name = getSummonerName(reqInfo))` >> Return your summoner name

`createLobbyCustom(reqInfo, 5)` >> Creates a custom lobby of team size 5

`createLobby(reqInfo, Lobby.RANKED_SOLO)` >> Creates a ranked solo lobby

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/olivialba",
    "name": "lolclient-lib",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,league of legends,lol,client,lcu,riot",
    "author": "Albaq (Alberto Olivi)",
    "author_email": "olivialberto02@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6e/6b/e3bec80e7232285ddf3302b83a5f7a675c81df442bdbb2dd271570ec500d/lolclient-lib-0.0.4.tar.gz",
    "platform": null,
    "description": "# lolclient_lib\nBasic package to send and receive requests to the League of Legends client.\n\n## Installation\n`pip install lolclient-lib`\n\n## How to use\n```\nfrom lolclient import *\n\nreqInfo = clientInfo()\n```\n`clientInfo()` will return the basic url and authorization header needed to send POST and GET requests.\nAlways put `reqInfo` as the first parameter for every method.\n\n## Example\n```\nfrom lolclient import *\n\nreqInfo = clientInfo()\ncreateLobby(reqInfo, Lobby.DRAFT)\nstartMatchmaking(reqInfo)\n```\nAutomatically creates a normal draft lobby, and starts the matchmaking.\n\n### More examples:\n\n`name = getSummonerName(reqInfo))` >> Return your summoner name\n\n`createLobbyCustom(reqInfo, 5)` >> Creates a custom lobby of team size 5\n\n`createLobby(reqInfo, Lobby.RANKED_SOLO)` >> Creates a ranked solo lobby\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Basic package to send and receive requests from the League of Legends client",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/olivialba"
    },
    "split_keywords": [
        "python",
        "league of legends",
        "lol",
        "client",
        "lcu",
        "riot"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac06e5dfb176cedf11a9fc6a36c8daac3af776d95cdceca3450cad06377976a7",
                "md5": "c6a2aa4a2503e609353bb2f91ed97f2e",
                "sha256": "cd0668c295f18fe45dd6ba30e014f50983aeb7438226c81ebef860f713bf6324"
            },
            "downloads": -1,
            "filename": "lolclient_lib-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c6a2aa4a2503e609353bb2f91ed97f2e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7186,
            "upload_time": "2023-10-25T06:30:45",
            "upload_time_iso_8601": "2023-10-25T06:30:45.746787Z",
            "url": "https://files.pythonhosted.org/packages/ac/06/e5dfb176cedf11a9fc6a36c8daac3af776d95cdceca3450cad06377976a7/lolclient_lib-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e6be3bec80e7232285ddf3302b83a5f7a675c81df442bdbb2dd271570ec500d",
                "md5": "03ba2411a6470d840d6b4febdb4731e1",
                "sha256": "02bb8f5ce103bfa34d2f496d6fdc701b4f7f91d07c2f7750f2402553f68e583a"
            },
            "downloads": -1,
            "filename": "lolclient-lib-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "03ba2411a6470d840d6b4febdb4731e1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5484,
            "upload_time": "2023-10-25T06:30:47",
            "upload_time_iso_8601": "2023-10-25T06:30:47.169909Z",
            "url": "https://files.pythonhosted.org/packages/6e/6b/e3bec80e7232285ddf3302b83a5f7a675c81df442bdbb2dd271570ec500d/lolclient-lib-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-25 06:30:47",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "lolclient-lib"
}
        
Elapsed time: 0.13144s