degiro-api
Version:
Unofficial DeGiro API for Javascript. Buy and sell in the stock market. See your portfolio and much more
15 lines (10 loc) • 394 B
text/typescript
import DeGiro from '../src/main'
(async () => {
const degiro: DeGiro = new DeGiro({})
await degiro.login()
const reports = await degiro.getAccountReports()
console.log(reports)
// Inside report object you can find `uri` property, but that URL is associated with the current session
// As soon as you sign out, the URL will be no longer available
// await degiro.logout()
})()