Skip to content

Instantly share code, notes, and snippets.

View sashahilton00's full-sized avatar

Sasha Hilton sashahilton00

View GitHub Profile
@sashahilton00
sashahilton00 / index.js
Created June 26, 2017 15:12
Spotify Connection and DH Handshake
//Spotify Protocol Connection Demo
//N.B. Don't forget to install the dependencies
var crypto = require('crypto');
var fs = require('fs');
var net = require('net');
var protobuf = require('protocol-buffers');
var HOST = 'lon6-accesspoint-a19.ap.spotify.com';