SoundCloud API user
How do I make an soundcloud api user?
Get user data from soundcloud en use it to reveal a profile with tracks. What is a soundcloud api user? How do you make a soundcloud api user? This script and codes were developed by Jimmy Van Der Sleen on 15 January 2023, Sunday.
SoundCloud API user - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SoundCloud API user</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="profile"> <div class="profile-photo"><div class="name"></div></div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
SoundCloud API user - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Roboto:300,100);
body { background-color: #ecf8f8; font-family: 'Roboto', sans-serif; background-image: url("http://img14.deviantart.net/95e7/i/2014/007/d/3/google_abstract_by_dynamicz34-d718hzj.png"); background-size: cover;
}
#overlay { background-color: rgba(0, 0, 0, 0.8); top: 0; left: 0; right: 0; bottom: 0; position: absolute; z-index: 10;
}
#profile { width: 400px; height: 400px; margin: 100px auto; position: relative;
}
#profile .profile-photo { width: 200px; height: 200px; border-radius: 50%; background-color: #333; position: absolute; top: 100px; left: 100px; z-index: 1; background-size: cover; border: 8px solid #c8c8c8; cursor: pointer; overflow: hidden;
}
#profile .profile-photo .name { position: relative; color: rgba(0, 100, 255, 0.6); text-align: center; top: 80px; font-size: 2em; font-weight: 300; padding: 10px 0; background-color: #c8c8c8; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; line-height: 1em;
}
#profile .item { position: absolute; top: 150px; left: 150px; border-radius: 50%; -webkit-transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); width: 100px; height: 100px; background-size: cover; background-position: center; border: 2px solid #c8c8c8;
}
#profile .item .name { color: #fff; position: absolute; top: 100px; font-size: 1em; text-align: center; display: block; width: 100%; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; opacity: 0; display: none;
}
#profile .item:after { content: "\f144"; font-family: FontAwesome; display: block; position: absolute; top: 30px; text-align: center; color: rgba(255, 255, 255, 0.8); opacity: 0; font-size: 2.5em; font-style: normal; font-weight: normal; text-decoration: inherit; border: none; width: 100%; -webkit-transform: rotate(-180deg); transform: rotate(-180deg); -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;
}
#profile .item:hover { -webkit-transform: scale(1.4); transform: scale(1.4);
}
#profile .item:hover .name { opacity: 1; font-size: 1em; top: -10px;
}
#profile .item:hover:after { -webkit-transform: rotate(0deg); transform: rotate(0deg); opacity: 1; top: 30px;
}
#profile .item.active { position: absolute; border-radius: 50%;
}
#profile .item.active:nth-child(2) { left: 0; top: 0;
}
#profile .item.active:nth-child(3) { left: 150px; top: -50px;
}
#profile .item.active:nth-child(4) { left: 300px; top: 0px;
}
#profile .item.active:nth-child(5) { left: 350px; top: 150px;
}
#profile .item.active:nth-child(6) { left: 300px; top: 300px;
}
#profile .item.active:nth-child(7) { left: 150px; top: 350px;
}
#profile .item.active:nth-child(8) { left: 0px; top: 300px;
}
#profile .item.active:nth-child(9) { left: -50px; top: 150px;
}
SoundCloud API user - Script Codes JS Codes
//3059366 3207
var clientID = '0644ec7bd3031048819a8db6040d425c', token = '54158d5686bcbec382a7e657857adba5', userID = 3059366, url = 'https://api.soundcloud.com/users/'+ userID +'/tracks?client_id=' + clientID, maxSounds = 8, selectedSounds = [], selectImage = [];
$(document).ready( function () { loadSounds();
});
function loadSounds () { $.ajax({ url: url, method: 'GET', type: 'JSON' }).done( function ( data ) { var startSound = (data.length - maxSounds); for (var i = 0; i < maxSounds; i++) { selectedSounds.push(data[i]); } addProfile(selectedSounds[0].user); });
}
function addProfile ( photo ) { $('.profile-photo').css('background-image', 'url(' + photo.avatar_url + ')'); $('.name').html(photo.username); addImages(selectedSounds);
}
function addImages ( sounds ) { console.log(sounds); for (var i = 0; i < sounds.length; i++) { $('#profile').append('<div class="item" data-id="'+ i +'" style="background-image: url(' + sounds[i].artwork_url +');"><span class="name">'+ sounds[i].title +'</span></div>'); }
}
$('.profile-photo').on('click', function () { if ( $('.item').hasClass('active') ) { $('.item').removeClass('active'); } else { $('.item').each( function(i) { setTimeout( function () { $('.item').eq(i).addClass('active'); }, 150 * i); }); }
});
$(document).on('click', '.item', function ( e ) { e.preventDefault(); e.stopPropagation(); var id = $(this).attr('data-id'); createOverlay(selectedSounds[id]);
});
function createOverlay ( obj ) { var downURL = obj.download_url; var html = $('<div id="overlay"> test </div>'); var item = $('<div class="overItem"></div>'); $('body').append(html);
}
$(document).on('click', '#overlay', function(){ $('#overlay').remove();
});
Developer | Jimmy Van Der Sleen |
Username | sjimster |
Uploaded | January 15, 2023 |
Rating | 3 |
Size | 4,556 Kb |
Views | 6,072 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CountingLikes | 2,654 Kb |
Svg loading circle | 2,271 Kb |
One-page Navigation scroll plug-in | 3,677 Kb |
Simple image slider | 3,446 Kb |
Css 3D Cube try-out | 2,404 Kb |
SCSS BEM Tabs system | 3,252 Kb |
Custom GoogleMaps | 2,357 Kb |
Inline Title Editor | 3,584 Kb |
Website Header SVG Animation | 3,991 Kb |
Flexbox vertical slide menu | 2,995 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Pericles mi loro... | Judag | 4,125 Kb |
React Vote Component | Souporserious | 5,465 Kb |
No Vacancy 404 CSS Only | Sethkontny | 0 Kb |
Css color for svg | Ademilter | 2,392 Kb |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
Animated Vertical CSS3 Menu Black | MaCeLMp4 | 2,750 Kb |
Menu | Vivi_Lai | 1,210 Kb |
Rrremark.com Overlay Highlighter | Derickruiz | 4,438 Kb |
Mobile Sub Menu Concept | Berdejitendra | 2,790 Kb |
A Pen by Xand0r | Xand0r | 1,928 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!