Skip to content

added quotes to auth object keys where missing #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lessons/11-receiving-json/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

api_object = {
"auth": {
username: 'YOUR_SKYCIV_USERNAME',
key: 'YOUR_SKYCIV_API_KEY',
"username": 'YOUR_SKYCIV_USERNAME',
"key": 'YOUR_SKYCIV_API_KEY',
},
"functions": [
{
Expand Down
4 changes: 2 additions & 2 deletions lessons/16-making-the-http-request/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# ========== FROM PREVIOUS LESSON ==============================================================
# Create auth object
auth = {
username: 'YOUR_SKYCIV_USERNAME',
key: 'YOUR_SKYCIV_API_KEY',
"username": 'YOUR_SKYCIV_USERNAME',
"key": 'YOUR_SKYCIV_API_KEY',
}

# Create options object - this is the default values so you could instead omit the entire object
Expand Down
4 changes: 2 additions & 2 deletions lessons/17-interpreting-the-response/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# ========== FROM PREVIOUS LESSON ==============================================================
# Create auth object
auth = {
username: 'YOUR_SKYCIV_USERNAME',
key: 'YOUR_SKYCIV_API_KEY',
"username": 'YOUR_SKYCIV_USERNAME',
"key": 'YOUR_SKYCIV_API_KEY',
}

# Create options object - this is the default values so you could instead omit the entire object
Expand Down