Skip to content

Commit

Permalink
Updating readme to detail product_info function.
Browse files Browse the repository at this point in the history
  • Loading branch information
pgoslatara committed Jun 6, 2020
1 parent ae72650 commit d89bc6d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ degiro.logout()
* logout
* getdata
* search_products
* product_info
* transactions
* orders
* get_stock_list
Expand All @@ -58,6 +59,12 @@ Searching for a product:
products = degiro.search_products('Pfizer')
print(Product(products[0]).id)
```
## product_info
Printing info for a specified product ID:
```
info = degiro.product_info(331823)
print(info["id"], info["name"], info["currency"], info["closePrice"])
```
## transactions
Printing your transactions in a given time interval:
```
Expand Down

0 comments on commit d89bc6d

Please sign in to comment.