While cloud storage is usually internal information shared within your solution, APIs allow your solution to access external information from the internet.
雲存儲
API
Let’s say you are building a solution to help people decide what to wear based on the weather. You could spend lots of time uploading data about the weather into a database, but there are many websites that show the weather.
A better solution would be just to grab data from a weather website and show it to your users through your solution, by using an API.
Here is a very basic example of using the Google Maps API and the ActivityStarter component to start the Google Maps app from your solution, targeting a specific location. Use this starter template to follow along.