Skip to content

Commit

Permalink
figuring out api architecture when sending and receiving
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Prescott committed Oct 29, 2023
1 parent 3a76cdd commit e645679
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions odin_api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,20 @@ def authenticate(self) -> None:
# CALL CENTER

# USER



# DEVICE

# internal to api

def _requester():
""" sends request to api, this is used in all functions.
"""



return

def __str__(self):
return f"API - url: {self.base_url}, username: {self.username}, " \
Expand Down
7 changes: 7 additions & 0 deletions odin_api/utils/parsing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

# TODO: Look at parsing objects to and from JSON in python there must be a package that achieves this
def ao_object_to_json():
return

def json_to_ao_object():
return

0 comments on commit e645679

Please sign in to comment.