1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "jsonUrl": "https://services.nijmegen.nl/geoservices/extern_Mobiliteit/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=extern_Mobiliteit%3AMOB_TAXISTANDPLAATSEN&outputFormat=application%2Fjson",
10 "jsonText": "{\"name\":\"John Doe\",\"age\":30,\"isStudent\":false,\"skills\":[\"JavaScript\",\"Python\",\"HTML\"],\"address\":{\"city\":\"New York\",\"zip\":\"10001\"}}",
11}
12
13
14run = client.actor("eloquent_mountain/automated-json-unnester").call(run_input=run_input)
15
16
17print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
18for item in client.dataset(run["defaultDatasetId"]).iterate_items():
19 print(item)
20
21