1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "phoneNumbers": [
10 "+44 20 7946 0958",
11 "020 7946 0321",
12 "0161 496 0742",
13 "0121 496 0503",
14 "0117 496 0219",
15 "0808 157 0192",
16 "+44 7700 900123",
17 "+1 202-555-0143",
18 "+1 312-555-0178",
19 "+61 2 5550 1234",
20 "+61 491 570 006",
21 "12345",
22 ],
23 "defaultCountry": "GB",
24}
25
26
27run = client.actor("ataism/phone-validator").call(run_input=run_input)
28
29
30print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
31for item in client.dataset(run.default_dataset_id).iterate_items():
32 print(item)
33
34