1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "packageJson": """{
10 \"name\": \"example-app\",
11 \"dependencies\": {
12 \"express\": \"^4.17.1\",
13 \"lodash\": \"4.17.15\",
14 \"request\": \"^2.88.0\"
15 },
16 \"devDependencies\": {
17 \"jest\": \"^26.6.3\"
18 }
19}""",
20 "manifestUrls": [],
21 "packages": [],
22}
23
24
25run = client.actor("extezzu/dependency-manifest-audit-npm-pypi").call(run_input=run_input)
26
27
28print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
29for item in client.dataset(run.default_dataset_id).iterate_items():
30 print(item)
31
32