From be2b921b6745dd36950b466229ccbfee3697ac70 Mon Sep 17 00:00:00 2001 From: Sermet Pekin Date: Sun, 28 Jul 2024 12:23:23 +0300 Subject: [PATCH] apikey class --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a15cbe4..5ef066a 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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. @@ -37,6 +37,7 @@ from evdspy import save save("MyApiKey") ``` +### api_key inside get_series function [Alternative 3 ]