   :offset is the index of the first track to return, default is 0.
   :market is an ISO 3166-1 alpha-2 country code.
 
-  Example: (get-a-playlists-tracks {:owner_id \"elkalel\" :playlist_id \"6IIjEBw2BrRXbrSLerA7A6\" :fields \"href,name,owner\":limit 50 :offset 50 :market \"SE\"} \"BQBw-JtC..._7GvA\")" (spotify-api-call client/get (str spotify-api-url "users/owner_id/playlists/playlist_id/tracks")))
-
-(def create-a-playlist 
+  Example: (get-a-playlists-tracks {:owner_id \"elkalel\" :playlist_id \"6IIjEBw2BrRXbrSLerA7A6\" :fields \"href,name,owner\":limit 50 :offset 50 :market \"SE\"} \"BQBw-JtC..._7GvA\")"
+  (api-get "users/owner_id/playlists/playlist_id/tracks"))
+
+(def create-a-playlist
   " Takes two arguments, a map m with query parameters and an optional oauth-token t.
   Compulsory keys in m are :user_id and :name, optional key is :public.
   :user_id is the users spotify id.
   :name is the name for the new playlist.
   :public is set to true if a playlist should be public and false if not.
 
-  Example: (create-a-playlist {:user_id \"elkalel\" :name \"The songs you didn't know you liked.\" :public true} \"BQBw-JtC..._7GvA\")" (spotify-api-call client/post (str spotify-api-url "users/user_id/playlists")))
-
-(def add-tracks-to-a-playlist 
+  Example: (create-a-playlist {:user_id \"elkalel\" :name \"The songs you didn't know you liked.\" :public true} \"BQBw-JtC..._7GvA\")"
+  (api-post "users/user_id/playlists"))
+
+(def add-tracks-to-a-playlist
   " Takes two arguments, a map m with query parameters and an optional oauth-token t.
   Compulsory key in m are :user_id and :playlist_id, optional keys are :uris and :position.
   :user_id is the users spotify id.
   :playlist_id is the playlist spotify id.
   :uris a list of spotify track uris.
-  :position the position to insert the tracks. 
+  :position the position to insert the tracks.
 
   Example: (add-tracks-to-playlist {:user_id \"elkalel\" :playlist_id \"6IIjEBw2BrRXbrSLerA7A6\" :uris \"spotify:track:4iV5W9uYEdYUVa79Axb7Rh,
-  spotify:track:1301WleyT98MSxVHPZCA6M\" :position 2} \"BQBw-JtC..._7GvA\")" (spotify-api-call client/post (str spotify-api-url "users/user_id/playlists/playlist_id/tracks")))
-
-;TODO - Deal with correct formatting of :tracks. 
+  spotify:track:1301WleyT98MSxVHPZCA6M\" :position 2} \"BQBw-JtC..._7GvA\")"
+  (api-post "users/user_id/playlists/playlist_id/tracks"))
+
+;TODO - Deal with correct formatting of :tracks.
 ;TODO - Additional doc string with optional and required values in :tracks.
-(def remove-tracks-from-a-playlist 
+(def remove-tracks-from-a-playlist
   " Takes two arguments, a map m with query parameters and an optional oauth-token t.
   Compulsory key in m are :user_id, :playlist_id and :tracks, optional keys is :snapshot_id.
   :user_id is the users spotify id.

  :range_length the amount of tracks to be reordered.
  :snapshot_id a playlist snapshot ID.

  Example: (reorder-a-playlists-tracks {:user_id \"elkalel\" :playlist_id \"6IIjEBw2BrRXbrSLerA7A6\" :range_start 1 :range_length 2 :insert_before 3} \"BQBw-JtC..._7GvA\")" (spotify-api-call client/put (str spotify-api-url "users/user_id/playlists/playlist_id/tracks")))

(def replace-a-playlists-tracks 
  " Takes two arguments, a map m with query parameters and an optional oauth-token t.
  Compulsory key in m are :user_id and :playlist_id, optional keys are :uris and :position.
  :user_id is the users spotify id.

  :offset is the index of the first track to return, default is 0.

  Example: (get-a-list-of-new-releases {:country \"SE\" :limit 50 :offset 50} \"BQBw-JtC..._7GvA\")"

  (api-get "browse/new-releases"))

(def get-a-list-of-categories
  " Takes two arguments, a map m with query parameters and an optional oauth-token t.
  There are no compulsary keys in m, optional keys are :country, :limit and :offset.
  :country is an ISO 3166-1 alpha-2 country code.
  :limit is the maxium number of tracks to return, default is 20.
  :offset is the index of the first track to return, default is 0.

  Example: (get-a-list-of-categories {:country \"SE\" :limit 50 :offset 50} \"BQBw-JtC..._7GvA\")"
  (api-get "browse/categories"))

(def get-a-category
  " Takes two arguments, a map m with query parameters and an optional oauth-token t.
  Compulsory key in m is :category_id, optional keys are :country and :locale.
  :category_id has to be a spotify category id.
  :country is an ISO 3166-1 alpha-2 country code.
  :locale is an ISO 639 language code and a ISO 3166-1 alpha-2 country code joined with an underscore.

  Example: (get-a-category {:category_id \"dinner\" :country \"SE\" :locale \"sv_SE\"} \"BQBw-JtC..._7GvA\")"
  (api-get "browse/categories/category_id"))

(def get-a-categorys-playlists
  " Takes two arguments, a map m with query parameters and an optional oauth-token t.
  Compulsory key in m is :category_id, optional keys are :country, :limit and :offset.
  :category_id has to be a spotify category id.
