Move all data to own folder. Add run shell script. Experiment (unsuccessfully so far) with example retreival

This commit is contained in:
William Jeynes
2026-02-16 22:42:13 +00:00
parent 90894b2c10
commit 3f14b61cd4
16 changed files with 184 additions and 29 deletions
+3 -3
View File
@@ -13,16 +13,16 @@ DEFAULT_PARAMS = {
"concept": "http://weverify.eu/resource/Concept/Q212",
"documentTypes": "http://schema.org/Claim",
"from": "2000-01-01",
"to": "2023-10-17",
"to": "2026-10-17",
"lang": "en",
"limit": 50, # Max per page
"limit": 300, # Max per page
"page": 1,
"orderBy": "date"
}
NUM_RANDOM_CLAIMS = 10
OUTPUT_FILE = "../Wrapper/claims.json"
OUTPUT_FILE = "../../data/claims.json"
def fetch_claims(params=None):
if params is None: