Auto-update: Tue Jun 25 19:31:40 PDT 2024
This commit is contained in:
parent
31e03ddec2
commit
b077e103c9
1 changed files with 3 additions and 2 deletions
|
@ -3,11 +3,12 @@ import os
|
||||||
import json
|
import json
|
||||||
|
|
||||||
filename = 'location_log.json'
|
filename = 'location_log.json'
|
||||||
server = 'https://api.sij.ai'
|
server = '!{!{ ENTER A PUBLIC URL TO YOUR SIJAPI INSTANCE }!}!'
|
||||||
|
api_key = !{!{ ENTER YOUR GLOBAL_API_KEY HERE }!}!
|
||||||
|
|
||||||
def upload_location_data(data):
|
def upload_location_data(data):
|
||||||
headers = {
|
headers = {
|
||||||
'Authorization': 'Bearer sk-NhrtQwCHNdK5sRZC',
|
'Authorization': f'Bearer {api_key}',
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue