public JsonResult GetUser(string AccessToken, string TokenType, string ExpiresIn, string State) { SpotifyUser user = APICalls.GetCurrentSpotifyUser(AccessToken); return(Json(new { Username = user.display_name, Id = user.id, Email = user.email, Images = user.images, Url = user.external_urls.spotify, Birthday = user.birthdate, Country = user.country, Followers = user.followers })); }