Skip to content

Instantly share code, notes, and snippets.

  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save miguno/f37285ee905623893e54aa706f8c72f7 to your computer and use it in GitHub Desktop.
Get the top-5 charts
# Get all the top-5 charts across all instances
$ http://localhost:7070/kafka-music/charts/top-five
[
  {
    "artist":"Hilltop Hoods",
    "album":"The Calling",
    "name":"The Calling",
    "plays":1860
  },
  {
    "artist":"De La Soul",
    "album":"De La Soul Is Dead",
    "name":"Oodles Of O's",
    "plays":1857
  },
  {
    "artist":"Eminem",
    "album":"Curtain Call - The Hits",
    "name":"Fack",
    "plays":1812
  },
  {
    "artist":"Subhumans",
    "album":"Live In A Dive",
    "name":"All Gone Dead",
    "plays":1797
  },
  {
    "artist":"Dead Kennedys",
    "album":"Fresh Fruit For Rotting Vegetables",
    "name":"Chemical Warfare",
    "plays":1777
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment