{ "info": { "author": "Wiktor Metryka", "author_email": "jestemkiosk@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# FiveM-Api\n\nSmall package in order to interact with FiveM API\n\n**How-to install :**\n\n```\npip install fivem\n```\n\n**How-to use :** \nHere is an example to display the number of players online on a server.\n\n```python\nimport fivem;\n\nserver = fivem.getServer(\"88.214.59.183:30120\")\nprint(server.players)\n```\n\n```python\nfivem.getServer(ipServer:port)\n```\n(default port is 30120)\n\nIt returns a Server Class with those attributes:\n```\nplayers: [{\n \"endpoint\"; string,\n \"id\": int, // The server ID og the player\n \"identifiers\": array, // Identifiers of the player\n \"name\": string, // Username's player\n \"ping\": int, // Le ping\n }],\ninfo: {\n \"enhancedHostSupport\": boolean,\n \"icon\": string, // Icon of the server (Base64)\n \"resources\": array, // All started resources\n \"server\": string, // FXServer's version (string format)\n \"vars\": { // Some convars defined in server.cfg\n \"sv_enhancedHostSupport\": boolean,\n \"sv_lan\": boolean,\n \"sv_licenseKeyToken\": string,\n \"sv_maxClients\": int,\n \"sv_scriptHookAllowed\": boolean,\n \"sv_hostname\": string,\n },\n \"version\": int, // FXServer's version (numeric format)\n}\nname: string // Name of the server\n\n\n```\n\nThis API is loosely based on the [node.js Fivem API](https://github.com/Heavenston/FiveM-Api/).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Jestemkioskiem/Fivem-api", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "fivem", "package_url": "https://pypi.org/project/fivem/", "platform": "", "project_url": "https://pypi.org/project/fivem/", "project_urls": { "Homepage": "https://github.com/Jestemkioskiem/Fivem-api" }, "release_url": "https://pypi.org/project/fivem/0.1/", "requires_dist": null, "requires_python": "", "summary": "A Python wrapper for the FIVEM API.", "version": "0.1" }, "last_serial": 5210597, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "4655a6d6c319a7d6c3c0011cc8f414b2", "sha256": "0440b5788b262c26ddb73c8e1afce4e1c8e3c37c8321009b3eb0f1687e758326" }, "downloads": -1, "filename": "fivem-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4655a6d6c319a7d6c3c0011cc8f414b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3064, "upload_time": "2019-04-30T23:43:25", "url": "https://files.pythonhosted.org/packages/ad/79/c64894450114c2b394de165263de82f387d7300de49b520fc3c79e5cfe9d/fivem-0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4655a6d6c319a7d6c3c0011cc8f414b2", "sha256": "0440b5788b262c26ddb73c8e1afce4e1c8e3c37c8321009b3eb0f1687e758326" }, "downloads": -1, "filename": "fivem-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4655a6d6c319a7d6c3c0011cc8f414b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3064, "upload_time": "2019-04-30T23:43:25", "url": "https://files.pythonhosted.org/packages/ad/79/c64894450114c2b394de165263de82f387d7300de49b520fc3c79e5cfe9d/fivem-0.1-py3-none-any.whl" } ] }