with Gemini Public and Google Maps (Places API)?
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
The Gemini Public API provides a gateway to interact with Gemini, a cryptocurrency exchange platform, allowing users to access market data, such as current prices, volume, and order book information. Through Pipedream, developers can harness this data to build powerful, serverless workflows that react to market changes, automate trading analysis, and integrate cryptocurrency data into external applications or services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gemini_public: {
type: "app",
app: "gemini_public",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gemini.com/v1/symbols`,
})
},
})
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`,
},
})
},
})