Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1.  
  2. #Example with ticker: GOOGL
  3. import requests
  4.  
  5. headers = {
  6. 'Content-Type': 'application/json',
  7. 'Authorization' : 'Token a87e0b336bfd971a47432a3cde92cb577aef18c9'
  8. }
  9. requestResponse = requests.get("https://api.tiingo.com/tiingo/daily/googl",
  10. headers=headers)
  11. print requestResponse.json() #Ex
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement