Skip to main content

Python BeatSaver API

This is the unofficial python API for communicating with BeatSaver.
Installation:

python -m pip install beatsaver

Samples

Getting map from ID

>>> import beatsaver as bs # easier to type really
>>> hardestmap = bs.maps.get_map_from_id('25f')
>>> hardestmap.name
'DM DOKURO - Reality Check Through The Skull'
>>> hardestmap.uploader.name
'rickput'
>>> # maps that don't exist raise BeatSaverNotFoundException
>>> try:
...     doesnotexist = bs.maps.get_map_from_id('z')
... except bs.models.exceptions.BeatSaverNotFoundException:
...     print("oops")
...
oops

Bonus

>>> import beatsaver as bs
>>> rcttc = bs.maps.get_map_from_id('25f')
>>> class smth:
...     def __eq__(self, a):
...         return True
...
>>> bad = smth()
>>> rcttc == bad
True

Release files for beatsaver 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 beatsaver 1.1.0
File Size Uploaded
beatsaver-1.1.0.tar.gz 10.0 kB Details

Built distribution (wheel)

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

Total release size: 22.2 kB

Release files / beatsaver-1.1.0.tar.gz

Download URL beatsaver-1.1.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d9b6871d0d7c7cec7ffca7fb0d44c6f25bd708bf7c4e807b3025e02b1a85119d
BLAKE2b-256 checksum
How to use checksums
a1f2d8c5b20ad0b797add17cf64cc3f273751f928e4940a3d4aeee363358be42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

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

Download URL beatsaver-1.1.0-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57f4fdde9e605fb7d62b421cbb03dec909d7b4382ef83444cf02f374e80dda55
BLAKE2b-256 checksum
How to use checksums
7891d333925b551984d2905df967a4bb42e2e90536389d546919d3503be22274
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

1 release file

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