You can ask Primio to integrate with any REST API — weather data, payment processing, social platforms, your own backend, or any service that speaks HTTP.
The key is being specific. Give the AI three things: the endpoint, what data to expect, and where to show it.
Good prompt — specific and complete:
“Fetch the current weather from OpenWeatherMap API at https://api.openweathermap.org/data/2.5/weather?q=London&appid=[your-key]. Display the temperature in Celsius, weather conditions, and the weather icon on the home screen.”
Weak prompt — too vague:
“Add weather to my app.”
The more detail you provide about the API response format and desired UI, the better the result. If the API has documentation, mention the key fields you need.
More examples:
“Connect to my backend API at https://api.myapp.com/products. Fetch the product list and display it in a grid with images, names, and prices.”
“Use the Unsplash API to search for photos. Show results in a grid. When the user taps a photo, show it full screen.”
“Fetch news headlines from NewsAPI and show them in a scrollable list with title, source, and published date.”