Skip to content
Snippets Groups Projects
Commit 63b95d17 authored by Oliwer Mattsson's avatar Oliwer Mattsson :headphones:
Browse files

Tog bort random fil.

parent ac7b9257
No related branches found
No related tags found
No related merge requests found
import json
import pprint
def load():
with open('data.json', 'r') as file:
data = json.load(file)
# Closing file
file.close()
return data
def get_project(id):
pass
def get_techniques(data, id):
for project in data:
if data["projects"][0]["project_id"] == id:
print(data["projects"][0]["techniques"])
pass
def main():
data = load()
get_techniques(data, 5712376)
if __name__ == "__main__":
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment