Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fsdkapi-0.0.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for fsdkapi-0.0.5.tar.gz
Algorithm Hash digest
SHA256 5e4070b86da199e07411aa3c21246ac31ce762f5fb9afd24e9ed25394755a3d0
MD5 4f44d2e236f3d4195762f1844d236a31
BLAKE2b-256 02d5ecdc7d34d356eee416d94ce986abcaae6a66230fa5bd19f81683d7428450

See more details on using hashes here.

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

Hashes for fsdkapi-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1a62f00fd1df5152ce584d2d4986c2c375f7e13e1664ddc59164587260c7b6e3
MD5 62d3faf9234b0dddff4ca1fe3618b856
BLAKE2b-256 1c875bb17b4ebf3c697db34cfe7c3a470514f93f5a48aa4d7c1936427e8177dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page