Fsdk project API
Project description
FSDK API
Getting started.
$ pip install fsdkapi
User API example
from fsdk import UserApi
api = UserApi()
api.get_stats() # Get server players stats
api.search_stats() # Search player stats
api.get_bans() # Get server players bans
api.search_bans() # Search banned player
Info API example
from fsdk import InfoApi
api = InfoApi()
api.get_all_info() # Get all server info
api.get_players() # Get server players
Admin API example
from fsdk import AdminApi
api = AdminApi(token='secret')
api.get_info() # Get server info
api.get_console_info() # Get server console info
api.get_players() # Get server players
api.get_admins() # Get admins and vips
api.vote_map(name='de_dust2') # Vode for change map
api.change_map(name='de_dust2') # Direct change map
api.kick_player(user_id='228') # Kick player
api.send_rcon(rcon='amx_reloadadmins') # Send rcon command
# Add admin and vip
api.add_admin(auth='Layer', access='a', flags='ce', expires='', password='88005553555', note='Layer test API')
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
fsdkapi-0.0.5.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fsdkapi-0.0.5.tar.gz.
File metadata
- Download URL: fsdkapi-0.0.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e4070b86da199e07411aa3c21246ac31ce762f5fb9afd24e9ed25394755a3d0
|
|
| MD5 |
4f44d2e236f3d4195762f1844d236a31
|
|
| BLAKE2b-256 |
02d5ecdc7d34d356eee416d94ce986abcaae6a66230fa5bd19f81683d7428450
|
File details
Details for the file fsdkapi-0.0.5-py3-none-any.whl.
File metadata
- Download URL: fsdkapi-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a62f00fd1df5152ce584d2d4986c2c375f7e13e1664ddc59164587260c7b6e3
|
|
| MD5 |
62d3faf9234b0dddff4ca1fe3618b856
|
|
| BLAKE2b-256 |
1c875bb17b4ebf3c697db34cfe7c3a470514f93f5a48aa4d7c1936427e8177dc
|