What are API Templates?
API Templates are pre-made GraphQL schemas configured with types, queries, and backends. They are designed to be combined, customized, and extended and help you quickly create your GraphQL API. In this case, the StepZen CLI (
stepzen import) imports the openweathermap template from our GitHub templates repository. It gets the current weather conditions from the OpenWeatherMap API based on latitude/longitude.
Note: You do not need to use an API template to build your StepZen schema, but it can give you a nice head start if you are connecting one of a number of common backend APIs.