Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

degiro-api

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

degiro-api - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "degiro-api",
"version": "0.0.6",
"version": "0.0.7",
"public": true,

@@ -5,0 +5,0 @@ "description": "Degiro test scripts",

@@ -19,6 +19,8 @@ # Unofficial DeGiro API

### Basic example
### Basic examples
Basic log in DeGiro Platform. All endpoint needs a session key before those can be call.
```js
import * as DeGiro from 'degiro-api'
const DeGiro = require('degiro-api')

@@ -30,5 +32,24 @@ const degiro = new DeGiro({

degiro.login().then(console.log).catch(console.error)
degiro.login()
.then(() => console.log('Log in success'))
.catch(console.error)
```
Get account info using `await`:
```js
import DeGiro from 'degiro-api'
const degiro = new DeGiro({
username: 'username',
pwd: '*****'
})
await degiro.login()
const accountData = await degiro.getAccountData()
// console.log(accountData)
```
### License

@@ -35,0 +56,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc