![]() |
VOOZH | about |
dotnet add package SCAPI_Core --version 1.0.1.47
NuGet\Install-Package SCAPI_Core -Version 1.0.1.47
<PackageReference Include="SCAPI_Core" Version="1.0.1.47" />
<PackageVersion Include="SCAPI_Core" Version="1.0.1.47" />Directory.Packages.props
<PackageReference Include="SCAPI_Core" />Project file
paket add SCAPI_Core --version 1.0.1.47
#r "nuget: SCAPI_Core, 1.0.1.47"
#:package SCAPI_Core@1.0.1.47
#addin nuget:?package=SCAPI_Core&version=1.0.1.47Install as a Cake Addin
#tool nuget:?package=SCAPI_Core&version=1.0.1.47Install as a Cake Tool
due to SoundCloud making changes to the API the authentication now needs to change. You need to use the /connect flow to be able to use this. If you have a working callback url you can just use the existing connect flow. If you have a non working callback url you can still use a browser.
Fill in the blanks aside from scope and state then visit the above link in a web browser to generate a connect id. After clicking the Connect and Continue it will use your redirect URl for the callback. In the web browser you can see the generated ID in the address bar if the callback fails
this file is needed to persist the session token and store information on the refresh time. Storing the connect id and session token is needed to continue the /connect flow, without this you would have to reconnect for every request. You choose the location for this file with the Authenticate method and you can view its contents.
SoundCloudClient.Authenticate(clientId, clientSecret, redirectUrl, connectCode, storagePath);
//optionally open internet browser with /connect url in case of failure:
SoundCloudClient.Authenticate(clientId, clientSecret, redirectUrl, connectCode, storagePath, true);
SoundCloudClient.LogLevel = SCAPI.Contracts.LogLevel.All; // outputs results errors and all debug information
SoundCloudClient.LogLevel = SCAPI.Contracts.LogLevel.Error; // outputs results and errors
SoundCloudClient.LogLevel = SCAPI.Contracts.LogLevel.OutputOnly; // will only output results but no other infomration
UserObject me = Me.GetMe();
List<StreamTracks> activities = Me.GetMyActivities(10);
List<StreamTracks> activitiesAllOwn = Me.GetMyActivitiesAllOwn(10);
List<StreamTracks> activitiesTracks = Me.GetMyActivitiesTracks(10);
List<TrackObject> myLikedTracks = Me.GetMyLikedTracks(10);
List<PlaylistObject> myLikedPlaylists = Me.GetMyLikedPlaylists(10);
List<UserObject> followings = Me.GetMyFolowings(10);
List<TrackObject> tracks = Me.GetMyFolowingsTracks(10);
StatusResultObject followUserStatus = Me.FollowUser(Id);
StatusResultObject unFollowUserStatus = Me.UnFollowUser(Id);
List<UserObject> followers = Me.GetMyFollowers(10);
List<TrackObject> myTracks = Me.GetMyTracks(10);
List<PlaylistObject> myPlaylists = Me.GetMyPlaylists(10);
List<SearchObject> tracksQuery = Track.SearchTracks(testQuery, 10);
List<SearchObject> playlistsQuery = Playlist.SearchPlaylists(testQuery, 10);
List<SearchObject> usersQuery = User.SearchUsers(testQuery, 10);
PlaylistObject newPlaylist = Playlist.CreatePlaylist("Test Playlist", "Test Description", "private", new int[] { trackId, trackId });
PlaylistObject foundPlaylist = Playlist.GetPlaylist(Id);
StatusResultObject deleteStatus1 = Playlist.DeletePlaylist(Id);
PlaylistObject updatedPlaylist = Playlist.UpdatePlaylist(Id, "Test Updated Title", "Test Updated Description", "private", new int?[] { trackId, trackId });
PlaylistObject replacedPlaylist = Playlist.ReplacePlaylist(Id, "Test Replace Title", "Test Replace Description", "private", new int[] { trackId, trackId });
List<TrackObject> tracksFromPlaylist = Playlist.GetPlaylistTracks(Id);
List<UserObject> usersFromPlaylist = Playlist.GetPlaylistReposters(Id, 10);
Playlist.AddPlaylistToLikes(Id));
Playlist.RemovePlaylistFromLikes(Id));
Playlist.RepostPlaylist(Id)
Playlist.DeleteRepostedPlaylist(Id)
todo: PlaylistObject resolved = Playlist.Resolve(id);
UserObject foundUser = User.GetUser(Id);
List<UserObject> usersFollowers = User.GetFollowers(Id, 10);
List<UserObject> usersFollowings = User.GetFollowings(Id, 10);
List<PlaylistObject> usersPlaylists = User.GetPlaylists(Id, 10);
List<TrackObject> usersTracks = User.GetTracks(Id, 10);
List<WebProfileObject> usersWebProfiles = User.GetWebProfiles(Id, 10);
List<TrackObject> usersLikedTracks = User.GetLikedTracks(Id, 10);
List<PlaylistObject> usersLikedPlaylists = User.GetLikedPlaylists(Id, 10);
todo: UserObject resolved = User.Resolve(id);
todo: Track.CreateTrack();
TrackObject t = Track.GetTrack(Id);
todo: Track.UpdateTrack();
todo: Track.DeleteTrack();
StreamUrlsObject streamUrlsFromTrack = Track.GetTrackStreamUrls(Id);
List<TrackCommentObject> commentsFromTrack = Track.GetTrackComments(Id, 10);
AddCommentResultObject result = Track.AddTrackComment(Id, "Test Comment", 10);
List<UserObject> usersWhoLikedTrack = Track.GetTrackLikers(Id, 10);
List<UserObject> usersWhoRepostedTrack = Track.GetTrackReposters(Id, 10);
List<TrackObject> relatedTracks = Track.GetTrackRelated(Id, 10);
Track.AddTrackToLikes(Id);
Track.RemoveTrackFromLikes(Id));
Track.RepostTrack(Id)
Track.DeleteRepostedTrack(Id)
todo: TrackObject resolved = Track.Resolve(id);
DownloadResult result = Track
.GetTrack(Id)
.DownloadTo(@"\\Desktop\\");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1.47 | 577 | 2/1/2023 |
| 1.0.1.46 | 470 | 1/11/2023 |
| 1.0.1.44 | 465 | 1/10/2023 |
| 1.0.1.43 | 462 | 1/9/2023 |
| 1.0.1.41 | 459 | 1/7/2023 |
| 1.0.1.40 | 453 | 1/7/2023 |
| 1.0.1.39 | 482 | 1/4/2023 |
| 1.0.1.38 | 1,207 | 11/14/2019 |
| 1.0.1.37 | 752 | 11/13/2019 |
| 1.0.1.36 | 760 | 11/13/2019 |
| 1.0.1.35 | 1,412 | 8/2/2017 |
| 1.0.1.34 | 1,312 | 8/2/2017 |
| 1.0.1.33 | 1,297 | 7/30/2017 |
| 1.0.1.32 | 1,337 | 7/29/2017 |
| 1.0.1.31 | 1,344 | 7/27/2017 |
| 1.0.1.30 | 1,359 | 7/27/2017 |
| 1.0.1.29 | 1,341 | 7/25/2017 |
| 1.0.1.28 | 1,319 | 7/25/2017 |