API integration

Anyone familiar with API integration with their app? I want the user to be able to select an actor to then see what the weather is in NYC, or, just have the current weather for NYC posted visible on the app at all times (even better option). I found this option here https://rapidapi.com/weatherbit/api/weather?endpoint=5933364be4b08ab68dbc3786 but I have no idea how to integrate it into the app!

Anyone shed any light on the process?

Comments

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,175

    you will need your own proxy to translate between gamesalad’s tables json and the api’s repsonse

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,175

    so https://pipedream.com/ has openweathermap API integration (by zip code).
    You could create a webhook that pulls the weather information and use the GameSalad - Create Table Response action to format the data for gamesalad.

    You could, at the very least, use that for testing and then adapt the javascript code to your own node.js server for scalability.

    Another option is to proxy the webhook call behind a CDN that expires every hour or so. That stop all the request from hitting the pipedream servers (keeping you from hitting your serving limits).

    Hope that helps!

Sign In or Register to comment.