Ask toddle AI

๐Ÿ 

Docs home

๐Ÿ‘ถ

Getting started

๐ŸŽ“

1st week in toddle

๐Ÿ› ๏ธ

The editor

๐Ÿงฑ

Elements

๐Ÿ’…

Styling and layout

๐Ÿ“ฆ๏ธ

Components

๐Ÿ“„

Pages and navigation

โ˜๏ธ

Working with APIs

๐Ÿงฎ

Formulas

๐Ÿ””

Events and actions

๐Ÿ“ฆ

Packages

๐Ÿค–

Custom code

๐Ÿ‘ฏโ€โ™‚๏ธ

Integrations

๐Ÿฟ

Tutorials

๐Ÿงฐ

Other

Unsplash

Unsplash uses a REST API, and itโ€™s easy to fetch images directly from their service and use them in your toddle app.ย 

You can explore their entire API documentation here .

How do I connect toddle to the Unsplash API?ย 

Most actions can be performed without requiring authentication from a specific user. For example, searching, fetching, or downloading a photo does not require a user to log in.

To authenticate requests in this way, pass your applicationโ€™s access key via the HTTP Authorization header:

Insert the URL to the Unsplash API in the GET field: https://api.unsplash.com, and then insert your access key in the red field. You can get your access key by signing up for an Unsplash account.

  • Click on your apps.
  • Request a new app.
  • Get your key.
Integrate with Unsplash

You can create many cool things with Unsplash, like this weather app that dynamically fetches images based on the weather conditions of your current location.