title: SharePoint Rest call is not returning all fields
body: <p>Goal: Have python program pull data from SharePoint so we can store on database.</p>
  
  <p>Issue: I am able to connect to share point and return data, but I am not getting all of the fields I can see when hitting the UI page. The UI page I am hitting is in the list on REST call but is a Custom View</p>
  
  <p>Update: Using the renderashtml I was at least able to see some of the data points I am looking for. I would hope there is a better solution than this</p>
  
  <p>Code:</p>
  
  <pre><code>import sharepy
  connection = sharepy.connect("https://{site}.sharepoint.com")
  r = connection.get("https://{site}.sharepoint.com/{page}/_api/web/Lists/getbytitle('{list_name}')/items")
  print(r.content)
  print(r.json())
  
  #I have also tried 
  https://{site}.sharepoint.com/{page}/_api/web/lists('{list_id}')/views('{view_id}')
  
  #I was able to return data as html 
  https://{site}.sharepoint.com/{page}/_api/web/lists('{list_id}')/views('{view_id}')/renderashtml
  </code></pre>
  
  <p>Research:  I have taken a look at the rest documentation for sharepoint and I am under the impression you cannot return data from a view. The solution I saw was to first hit the view and then generate a list of columns and use that to build a query to search the list. I have tied that and those fields are not available when I pull the list but are in the view.</p>
  
  <ul>
  <li><a href="https://social.msdn.microsoft.com/forums/sharepoint/en-US/a5815727-925b-4ac5-8a46-b0979a910ebb/query-listitems-by-view-through-rest-api" rel="nofollow noreferrer">https://social.msdn.microsoft.com/forums/sharepoint/en-US/a5815727-925b-4ac5-8a46-b0979a910ebb/query-listitems-by-view-through-rest-api</a></li>
  <li><a href="https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_View" rel="nofollow noreferrer">https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_View</a></li>
  </ul>