working on presentation
This commit is contained in:
parent
7d581d2f03
commit
4217c9d4e1
23
index.html
23
index.html
|
@ -91,14 +91,23 @@
|
|||
- `.env`
|
||||
- `.gitignore`
|
||||
</section>
|
||||
<section data-markdown>
|
||||
```python
|
||||
from dotenv import load_dotenv
|
||||
<section data-markdown>
|
||||
```
|
||||
# .env
|
||||
|
||||
API_KEY=xxxxxxxx
|
||||
```
|
||||
|
||||
load_dotenv()
|
||||
API_KEY = os.getenv('API_KEY')
|
||||
```
|
||||
</section>
|
||||
```python
|
||||
# tubestats/youtube_api.py
|
||||
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
API_KEY = os.getenv('API_KEY')
|
||||
|
||||
```
|
||||
</section>
|
||||
<section data-markdown>
|
||||
## How does TubeStats work?
|
||||
### Part 2 of 2
|
||||
|
|
Loading…
Reference in New Issue