Repository navigation
From a typed Run to three source-linked NYC contractor records with the Python client #1262
Rainy-fall-end
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I maintain NYC Contractors and the accompanying Python, MCP and n8n examples. Here is a small end-to-end example for
apify-client==3.5.1. It takes an active-license search through to the rows you would actually import. I ran it for Brooklyn with a limit of three and got three records, each with a license number, a public business email and a contact source URL.The SDK returns a typed run object, so use
run.default_dataset_id. Individual dataset items in this example are dictionaries. Keeping the source URL next to each address makes it easier to review a contact before syncing it to another system.Three delivered NYC contacts cost $0.00435 at the Free-plan rate. You can inspect the input in the public Actor example. The workflow kit also includes a standard-library CSV exporter and an n8n webhook version.
All reactions