À proximité

v1.0.0
ca.aproximite/aproximite Checked 4 days ago Published 18 days ago

A company that comes to your home in Vaudreuil-Soulanges.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_referral_options À proximité: services and areas

Find out how to connect a homeowner with a local company chosen on merit for work in and around their home (an electrician, a plumber, a heating and cooling company, an exterminator, a cleaning company, a painter, a roofer, a moving company, a landscaper, a snow removal company, a window washer, a gutter company, a tree service, a general contractor, a handyman, a fence and deck builder, an appliance repair company, a window and door company, a pool company or a chimney sweep) through À proximité in Vaudreuil-Soulanges, Quebec. You can collect the job and contact details, prepare a request,…

ParameterTypeDescription
localestringThe customer's language: fr for French, en for English. Use it for the review and the text messages they receive.

lookup_service_address Look up a service address

Return up to five labeled address suggestions or resolve one opaque selection. Read-only: this never changes a request or records consent. Query and selection are mutually exclusive. Suggestions are candidates only; never guess or auto-select. Manual entry is always available. If Google output is shown to the customer, include the exact attribution text Google Maps.

ParameterTypeDescription
locale *stringThe customer's language: fr for French, en for English. Suggestions come back in it.
querystringWhat the customer typed. Pass query or selection, not both.
selectionstringThe suggestion the customer picked. Pass query or selection, not both.
sessionstringThe session returned by your previous lookup with a query, to keep the same search as the customer types more. Leave it out on the first query.

prepare_referral_request Prepare a request for review

Validate the customer's details and return the exact request and consent notice to show them, with a review token. Nothing is sent. Work from two or more trades goes in services, one entry per trade with only that trade's part of the description, in this one call: never one description for several trades. Pass the situation, since and answers from the customer's words and get_referral_options' situations. Municipality must be the customer's stated job location; ask if unknown. Call again with corrected details if fieldsToCorrect is not empty. Photos are not supported here; the customer can add…

submit_referral_request Send the reviewed request

Send the request exactly as reviewed. CONSEQUENTIAL: call only after showing the customer the review from prepare_referral_request and getting their explicit permission. Pass that review token and privacy version with customerAuthorized:true. Repeating the same token never creates a second request.

ParameterTypeDescription
customerAuthorized *booleantrue, only after the customer has seen the review and said yes to sending it.
privacyVersion *stringThe consent.privacyVersion from that same review, unchanged.
reviewToken *stringThe reviewToken from prepare_referral_request's ready review, unchanged.