Mdundo Scraper
Get songs data in json format from Mdundo site with ease inspired by Sound Cloud Scraper.
Installation
pip install mdundo-scraper
Usage
Charts
from mdundo.charts import Chart
# Initialize Chart class
chart = Chart("ke")
# Weekly top 100 songs
top_100_songs = chart.weekly_top_100(chart)
# Top 20 monthly songs
top_20_songs = chart.monthly_top_20(chart)
# New Releases
new_relases_songs = chart.new_releases(chart)
Genre
from mdundo.genre import Genre
# Initialize Genre class
genre = Genre()
# All Genres
all_genres = genre.get_genres()
# Songs in a genre
genre = genre.get_genre_top_songs(genre_id)
Artist
from mdundo.artist import Artist
# Initialize Artist class
genre = Artist()
# top artist
top_artist = genre.get_artist()
# Get Artist's Songs
songs = artist.get_artist_song(artist_id)
To see how you can implement this package in a real life project have a look at examples.py. Contains a flask implementation of this project.
This repo show you how you can consume the API created with your server with an android client.
Note
This package is a project that I am using to learn data science and how audio waves can be manipulated and is in no way affiliated with Mdundo.com. Use at your own discretion.
Metadata
Release files for mdundo-scraper 0.0.5
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 | Actions |
|---|---|---|---|---|
| mdundo-scraper-0.0.5.tar.gz | 4.5 kB | Without provenance | Details for mdundo-scraper-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mdundo_scraper-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for mdundo_scraper-0.0.5-py3-none-any.whl |
Total release size: 10.7 kB
Release files / mdundo-scraper-0.0.5.tar.gz
| Download URL | mdundo-scraper-0.0.5.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b65f25d5211449279f50000e23659a59ff707014dc537577b0e0ec7da5053fc
|
|
BLAKE2b-256 checksum How to use checksums |
7e14a4277c81e8954f00073b949f87765f5f1efa65b4376d0370a853f8b0a07a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5
|
Release files / mdundo_scraper-0.0.5-py3-none-any.whl
| Download URL | mdundo_scraper-0.0.5-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4778d9bf2a45c6454428380961ccbfa3daeb3398388dc1ec69a6ac09e48ff217
|
|
BLAKE2b-256 checksum How to use checksums |
37f8f6b05baf9d808da4a2a37490146c40ca19cb63e9180cc511d9d9a7e35b7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5
|
Security for mdundo-scraper 0.0.5
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.