HI 各位好,
最近在自學swift, 想要以抓股價分析做為目標
但開始看了之後發現幾個問題
1. 請問像是 Yahoo fincance API / Google finance API
是可拿來做商業使用的嗎?
在google 的論壇裡有看到說
"Note that if your application is forublic consumption, using the Google
Finance API is against Google's terms of service.”
如果不能用,那我還滿好奇已上架的app 都是從哪些地方取得這些資訊的呢?
希望如果有人知道可以分享一下 ~
2. Yahoo 在幾個月前把原本的 finance API功能關掉了
https://stackoverflow.com/questions/44030983/yahoo-finance-url-not-working
討論串裡面有其他語言的解法,但就是沒有swift的
想要模仿別的方法寫 不過好像不知道從何下手 看
別的語言好像有希望有library 可以parsing cookie的內容 出來
請問swift裡面有對應的作法嗎?
3. 承上 若從 yahook API 回傳的是JSON 格式,應該可以用alamofire來取資料
不過有些 API是回傳 一個.cvs的檔案
如果檔案的,是要怎麼收呢?
新手問題 ,還請各位高手賜教,謝謝~~^^