FBi Radio currently playing
Find out which track is currently playing on FBi Radio, Australia's best radio station.
Installation
Install from PyPI:
pip install fbiradio
Or clone this repository and install locally:
git clone https://github.com/cchristiansen/fbiradio/
cd fbiradio
pip install .
Usage in console
List the last N tracks by replacing N for 5 or any other positive integer.
If N is 0, all tracks that have been played in the current radio show are
displayed.
$ fbiplaying -n N
If no number is given, the latest track is displayed.
$ fbiplaying
01:37 pm: SOPHIE - UNISIL
Import as library
import fbiradio
# Get the last three tracks
tracks = fbiradio.currently_playing(n=3)
# Find the artist name of the first track
print(tracks[0].artist)
# Find when the second track was played
print(tracks[1].played_at)
# What was the track name of the latest track?
print(tracks[-1].track)
# Show all information on the latest three tracks
for track in tracks:
print(track)
Disclaimer
Aside from supporting the radio station and loving the music FBi plays, I am not affiliated with the station in any way, shape or form.
Copyright
Copyright 2021, Christian Christiansen.
Code is distributed under GNU Affero Public License 3.
Listen to 94.5 FM. Peace out.
Metadata
Release files for fbiradio 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| fbiradio-0.0.2.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fbiradio-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.4 kB
Release files / fbiradio-0.0.2.tar.gz
| Download URL | fbiradio-0.0.2.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9307aba6ea4989ed779e331edb746f18360b90875aa53d634ff85e0208a32a1f
|
|
BLAKE2b-256 checksum How to use checksums |
ce1bf71eb2cd75f2061113bb1b9be6847663bd0c48971da168dfcb327f39ea71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / fbiradio-0.0.2-py3-none-any.whl
| Download URL | fbiradio-0.0.2-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
564cac8c221e1a06f4fc540e79e9790ef9061e7c5b13fa334c00734d7eaaa3a9
|
|
BLAKE2b-256 checksum How to use checksums |
f236c0feb885d406302d505ac77261f31989d9452025c05ffeb8a8f3b8d07b37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for fbiradio 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.