faros-ai / airbyte-connectors

Airbyte connectors (sources & destinations) + Airbyte CDK for JavaScript/TypeScript
Apache License 2.0
108 stars 64 forks source link

Resolve locations in Faros Destination for Google Calendar events #216

Closed tovbinm closed 2 years ago

tovbinm commented 2 years ago

Resolve locations using Faros /geocoding/lookup API - https://dev.api.faros.ai/docs.html#Geocoding.

Example from org import feed - https://github.com/faros-ai/feeds/blob/master/feeds/org/org-import-feed/src/feed.ts#L346

tovbinm commented 2 years ago

Basically from the converter invoke "farosClient.geocode" method (https://github.com/faros-ai/feeds-sdk/blob/main/src/client.ts) to get the location information.

Tip: you can use stream context to pass farosClient to use in converters. cc @cjwooo