Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
SermetPekin committed Apr 18, 2024
2 parents 11f61d3 + 6748214 commit 7c63ff7
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ sphinx:
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
python:
install:
- requirements: docs/requirements.txt
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

## Documentation

[Documentation](https://sermetpekin.github.io/evdspy-repo/)

[Documentation](https://evdspy-repo.readthedocs.io/en/latest/)


## evdspy

Expand All @@ -25,6 +27,21 @@ api_key will be saved to a file if it was given to get_series function. It will
later calls if it was saved before.
Alternatively save function can be used.

#### save("MyApiKey"):

Program will store your api key in your environment in a safe folder
called APIKEY_FOLDER
and only use it when you run a new request which was not requested
recently depending on your cache preference.

.
```python
from evdspy import save
save("MyApiKey")

```

```python
from evdspy import get_series, default_start_date_fnc, default_end_date_fnc

Expand Down Expand Up @@ -466,7 +483,7 @@ or modify this file or delete and create a new on from menu or console using com
create_options()


![image](https://user-images.githubusercontent.com/96650846/201921534-22ef45f0-85cf-4982-b160-2fe37a21d491.png)


## OPTION 2
_________________________________
Expand Down
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
evdspy
sphinx_rtd_theme
sphinx_book_theme
7 changes: 5 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']

# html_theme = 'sphinx_rtd_theme'
html_theme = 'sphinx_book_theme'

html_static_path = ['static']
# extensions = ['myst_parser']
source_suffix = {
'.rst': 'restructuredtext',
Expand Down
5 changes: 1 addition & 4 deletions evdspy/EVDSlocal/index_requests/user_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,8 @@ def domain(self) -> str:
def alias(self):
return "series="


# ....................................................................... UrlDataGroup
class UrlDataGroup(UrlSeries):
@property
def domain(self) -> str:
return "https://evds2.tcmb.gov.tr/service/evds"

@property
def alias(self):
Expand Down

0 comments on commit 7c63ff7

Please sign in to comment.