Skip to content

Commit

Permalink
apikey class
Browse files Browse the repository at this point in the history
  • Loading branch information
SermetPekin committed Jul 28, 2024
1 parent e18cec0 commit be2b921
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
* [soon will be deprecated] **get_datagroup** function will be depreciated in the future versions.
**get_series** function will be able to handle both series and datagroups.
> ! get_series function can be used for both datagroups and series
### api_key
## api_key

### .env file
### .env file [Alternative 1 ]

You may create a .env file in your work environment and write your api key as follows.
Script will load your api key from this file on load if available.
Expand All @@ -22,7 +22,7 @@ Script will load your api key from this file on load if available.
EVDS_API_KEY=AxByCzDsFoGmHeIgJaKrLbMaNgOe
```

### save command
### save command [Alternative 2 ]
api_key will be saved to a file if it was given to get_series function. It will ignore
later calls if it was saved before.
Alternatively save function can be used.
Expand All @@ -37,6 +37,7 @@ from evdspy import save
save("MyApiKey")
```

### api_key inside get_series function [Alternative 3 ]



Expand Down

0 comments on commit be2b921

Please sign in to comment.