[PR #113] [MERGED] reduce repeated examples. #251

Closed
opened 2026-02-27 20:23:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/113
Author: @ramsayleung
Created: 8/16/2020
Status: Merged
Merged: 8/27/2020
Merged by: @ramsayleung

Base: masterHead: reduce-examples


📝 Commits (10+)

📊 Changes

144 files changed (+405 additions, -6297 deletions)

View changed files

📝 .env (+2 -2)
📝 .gitignore (+2 -0)
📝 Cargo.toml (+1 -291)
📝 README.md (+8 -211)
examples/add_to_queue.rs (+0 -29)
examples/album_tracks.rs (+0 -22)
examples/albums.rs (+0 -25)
examples/artist.rs (+0 -22)
examples/artist_related_artists.rs (+0 -22)
examples/artist_top_tracks.rs (+0 -32)
examples/artists.rs (+0 -24)
examples/artists_albums.rs (+0 -31)
examples/audio_analysis.rs (+0 -22)
examples/audio_features.rs (+0 -22)
examples/audios_features.rs (+0 -26)
examples/blocking/add_to_queue.rs (+0 -29)
examples/blocking/artist_top_tracks.rs (+0 -28)
examples/blocking/categories.rs (+0 -39)
examples/blocking/check_users_saved_shows.rs (+0 -48)
examples/blocking/current_playback.rs (+0 -53)

...and 80 more files

📄 Description

All of these example files come from a same template, which are are quite repetitive and don't offer much help for real projects, the only difference between them is that they calls different function with different day, everything else is same.

  • remove repetitive examples.
  • add some real examples.
  • update document.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/113 **Author:** [@ramsayleung](https://github.com/ramsayleung) **Created:** 8/16/2020 **Status:** ✅ Merged **Merged:** 8/27/2020 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `reduce-examples` --- ### 📝 Commits (10+) - [`29eea07`](https://github.com/ramsayleung/rspotify/commit/29eea07545704f66cec83037b72e36abba8ca04b) reduce repeated examples. - [`99cd104`](https://github.com/ramsayleung/rspotify/commit/99cd1040376ab556551d105c7e5cbd7aa96596f1) fix clippy and check error. - [`b02f202`](https://github.com/ramsayleung/rspotify/commit/b02f2023e2a5a68b0c358a431a1682512aa4d3c7) Merge branch 'master' of https://github.com/ramsayleung/rspotify into reduce-examples - [`6daac6b`](https://github.com/ramsayleung/rspotify/commit/6daac6b41306088399aca2201a0cbc0c24b73af9) Fix tests - [`12f513a`](https://github.com/ramsayleung/rspotify/commit/12f513a234afa8fe5e710f2356a7f478baf63428) cargo fmt - [`714c19e`](https://github.com/ramsayleung/rspotify/commit/714c19e51a8f794175f38d4d2b2961354bd1fb67) Also implement for blocking module - [`39f5a04`](https://github.com/ramsayleung/rspotify/commit/39f5a045efb5cc823a83ed0d613c3df4c5aef1c2) Fix pull requests running tests twice - [`ff1bfbe`](https://github.com/ramsayleung/rspotify/commit/ff1bfbecc0996b0141ab868546d8b539109a3341) New with_refresh_token example - [`4873e59`](https://github.com/ramsayleung/rspotify/commit/4873e59778921ff27ce4cf0716c8a334ee750a2e) remove extern crate for 'log' - [`4da07cf`](https://github.com/ramsayleung/rspotify/commit/4da07cffa1d18b4f80f46ae8f723750d0b5c1d24) remove unnecessary 'base64' and 'env_logger' ### 📊 Changes **144 files changed** (+405 additions, -6297 deletions) <details> <summary>View changed files</summary> 📝 `.env` (+2 -2) 📝 `.gitignore` (+2 -0) 📝 `Cargo.toml` (+1 -291) 📝 `README.md` (+8 -211) ➖ `examples/add_to_queue.rs` (+0 -29) ➖ `examples/album_tracks.rs` (+0 -22) ➖ `examples/albums.rs` (+0 -25) ➖ `examples/artist.rs` (+0 -22) ➖ `examples/artist_related_artists.rs` (+0 -22) ➖ `examples/artist_top_tracks.rs` (+0 -32) ➖ `examples/artists.rs` (+0 -24) ➖ `examples/artists_albums.rs` (+0 -31) ➖ `examples/audio_analysis.rs` (+0 -22) ➖ `examples/audio_features.rs` (+0 -22) ➖ `examples/audios_features.rs` (+0 -26) ➖ `examples/blocking/add_to_queue.rs` (+0 -29) ➖ `examples/blocking/artist_top_tracks.rs` (+0 -28) ➖ `examples/blocking/categories.rs` (+0 -39) ➖ `examples/blocking/check_users_saved_shows.rs` (+0 -48) ➖ `examples/blocking/current_playback.rs` (+0 -53) _...and 80 more files_ </details> ### 📄 Description All of these example files come from a same template, which are are quite repetitive and don't offer much help for real projects, the only difference between them is that they calls different function with different day, everything else is same. - [x] remove repetitive examples. - [x] add some real examples. - [x] update document. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:23:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#251
No description provided.