with DeepSeek and Google Maps (Places API)?
Creates a chat completion using the DeepSeek API. See the documentation
Retrieves detailed information for a specific place using its Place ID. See the documentation
Searches for places based on location, radius, and optional filters like keywords, place type, or name. See the documentation
Lists the currently available models, and provides basic information about each one such as the owner and availability. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deepseek: {
type: "app",
app: "deepseek",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.deepseek.$auth.base_url}/user/balance`,
headers: {
Authorization: `Bearer ${this.deepseek.$auth.api_key}`,
},
})
},
})
The Google Maps (Places API) offers detailed information about physical locations, including places of interest, reviews, and other metadata. In Pipedream, you can leverage this API to create dynamic workflows that respond to location data. Whether you're building apps that track asset locations, automate location-based alerts, or provide users with local info, integrating with Google Maps can add a powerful spatial context to your services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_maps_platform: {
type: "app",
app: "google_maps_platform",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://maps.googleapis.com/maps/api/place/findplacefromtext/json`,
params: {
key: `${this.google_maps_platform.$auth.api_key}`,
input: `Museum of Contemporary Art Australia`,
inputtype: `textquery`,
},
})
},
})