app / de.uniks.codliners.stock_simulator.network / IEXApi / news

news

@GET("stock/{symbol}/news") abstract suspend fun news(@Path("symbol") symbol: String, @Query("token") token: String = IEX_API_TOKEN): List<News>

Requests News for an IEX share.

Parameters

symbol - The symbol of the IEX share.

token - The IEX API token. Defaults to IEX_API_TOKEN.

Return
The requested List of News.