DegiroApi class

Constructors

DegiroApi.fromCredentials(String username, String password)
Access to Degiro with normal credentials.
DegiroApi.fromSession(String sessionId)
Access to Degiro with the sessionId.

Properties

accountInfo AccountInfo
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isLoggedIn bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String
no setter

Methods

cashMovements({DateTime? fromDate, DateTime? toDate, bool showFlatexMovements = false}) Future<List<CashMovement>>
Account balance: gets all the cash movements done in the account
login() Future<AccountInfo>
Login into Degiro and gets the account info.
logout() Future<void>
Logout from Degiro. The session is disposed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
portfolioPositions({bool includeCash = false}) Future<List<PortfolioPosition>>
Gets the portfolio positions.
productInfo(String id) Future<ProductInfo>
Gets the product infos of a certain id.
productInfos(List<String> ids) Future<List<ProductInfo>>
Gets multiple products infos based on multiple ids.
searchProducts({required String searchText, int? limit, int offset = 0, int? productType, String? sortColumn, String? sortType}) Future<List<ProductInfo>>
Products search by product name.
toString() String
A string representation of this object.
inherited
transactions({DateTime? fromDate, DateTime? toDate, bool groupByOrder = false}) Future<List<Transaction>>
Gets account transactions filtered by any date. If no date interval is provided, all account transactions are returned.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance DegiroApi
no setter