Walmart screenshot script is finalized for Azure functions
This commit is contained in:
11
Scripts/API_Tests/fetch_api_prop_docs.py
Normal file
11
Scripts/API_Tests/fetch_api_prop_docs.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import requests
|
||||||
|
import json
|
||||||
|
import Apikeys
|
||||||
|
|
||||||
|
APIKEY = Apikeys.NORMSANDBOX
|
||||||
|
DIRFILE = "properties.json"
|
||||||
|
url = f'https://api.northpass.com/v2/properties/open_api?api_key={APIKEY}'
|
||||||
|
response = requests.get(url).json()
|
||||||
|
|
||||||
|
with open (DIRFILE, 'w') as file:
|
||||||
|
json.dump(response, file, indent=4)
|
||||||
@ -1,9 +1,8 @@
|
|||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
from playwright.sync_api import sync_playwright, Playwright, expect
|
from playwright.sync_api import sync_playwright, Playwright
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
import glob
|
import glob
|
||||||
import re
|
|
||||||
import os
|
import os
|
||||||
from datetime import date
|
from datetime import date
|
||||||
|
|
||||||
1
Scripts/Walmart/Spark/spark-screenshots-script
Submodule
1
Scripts/Walmart/Spark/spark-screenshots-script
Submodule
Submodule Scripts/Walmart/Spark/spark-screenshots-script added at 36a6b4d4e3
Reference in New Issue
Block a user