Skip to content

poiou123/Yahoo-Finance-API-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yahoo-Finance-API-wrapper

Yahoo-Finance-API-wrapper is a wrapper written in Flask to simplify the results from Yahoo finance API

Configuration

Write your api key from Yahoo finance inside apiKJey.json

Dependencies

Use

Url

[GET] http://127.0.0.1:5000/quote/<symbol>

Response Example

{
  "currency": "EUR",
  "shortMarket": "PAR",
  "market": "Paris",
  "shortName": "ETF Emergent,
  "name": "ETF EMergent Markets MSCI",
  "price": 4.6,
  "symbol": "AEEM.PA"
}

Error codes

  • 429 - not enough resquests avaliable for you API account
  • 404 - symbol not found

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.