Skip to main content

pyscpapi

Installing

You can get the library directly from PyPI:

python3 -m pip install pyscpapi

If you are using Windows, then the following should be used instead:

py -3 -m pip install pyscpapi

HOW TO USE

Read official API: https://api.scpslgame.com/

Simple Code:

import asyncio
from Pyscp_Api.api import API

async def start():
    ip = await API.ip()
    serverinfo = await API.serverinfo(id_ = YOUR_ID, key = YOUR_KEY, list_ = "true", players = "true")
    lobbylist = await API.lobbylist(key = YOUR_KEY, minimal = "Test")
    return (ip, serverinfo, lobbylist)
  
ip, serverinfo, lobbylist = asyncio.run(start())
print(f"IP:          {ip}")
print(f"Server Info: {serverinfo}")
print(f"Lobby List:  {lobbylist}")

Donate

https://money.yandex.ru/to/410015858804944/0

Metadata

Release files for pyscpapi 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyscpapi 1.1.0
File Size Uploaded
pyscpapi-1.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyscpapi 1.1.0
File Interpreter ABI Platform
pyscpapi-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / pyscpapi-1.1.0.tar.gz

Download URL pyscpapi-1.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5dc36324d6d34b272fb4b855e6cd5112199205bef58bbff6b2277d6f971d6096
BLAKE2b-256 checksum
How to use checksums
9a7325650b41cfc833aca3ff1369c30e8054fde667169513caf3b00b973ac139
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.5 Linux/5.4.0-58-generic

Release files / pyscpapi-1.1.0-py3-none-any.whl

Download URL pyscpapi-1.1.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c885d22b6a281b8b6afd9c44f78e01bb47015c8a54a860c30ea9e39ca959b4f
BLAKE2b-256 checksum
How to use checksums
369f3b4f37166fa7765e4c883bdbebe302967cb7b6d2f85f4efddd311bced29e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.5 Linux/5.4.0-58-generic

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page