Commit bdaabb5a authored by Ibrahim Ahmed's avatar Ibrahim Ahmed
Browse files

Update README.md

parent c3b5eb25
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -16,9 +16,11 @@ If `file` is not provided, output is printed to `STDOUT` and can be piped elsewh

Dates should be in the ISO8601 format `yyyy-mm-ddThh:mm:ssZ`, `yyyymmddThhmmssZ` etc.

For arguments, care should be taken with escaping special characters (`$`). In windows, use single quotes so that `$` is not expanded and parsed raw.

### Python

```
```python
from bdx import get_trend
from datetime import datetime, timezone, timedelta

@@ -28,7 +30,7 @@ end = datetime(2020,2,4,16,0,0, tz_info=tz_central)

dataframe = get_trend(trend_id='2422',
                      username='harrypotter',
                      password,
                      password='wing@rd1umLeviosa',
                      start=start,
                      end=end)
```
@@ -39,4 +41,6 @@ dataframe = get_trend(trend_id='2422',
dateutil >= 2.8
pandas >= 0.25
requests >= 2.22.0
numpy
beautifulsoup4
```
 No newline at end of file