Public/Get-AudioFeature.ps1

function Get-AudioFeature {
  <#
  .SYNOPSIS
    Gets features for a track.
  .DESCRIPTION
    Get audio feature information for a single track identified by its unique Spotify ID.
  .EXAMPLE
    PS C:\> Get-AudioFeature -Id "blahblahblah"
    Retrieves audio features for a track from spotify with the Id of "blahblahblah"
  .PARAMETER Id
    The spotify Id of the track we want to look up
  #>

  param (
    # Id of the track we want to look up
    [Parameter(Mandatory)]
    [string]
    $Id
  )

  Write-Verbose "Attempting to return info on track with Id $Id"
  $Method = "Get"
  $Uri = "https://api.spotify.com/v1/audio-features/" + $Id

  $Response = Send-SpotifyCall -Method $Method -Uri $Uri -ErrorAction Stop
  return $Response
}