pexels
Nim library for the Pexels API
Summary
| Latest Version | 0.1.0 |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:27 |
Tags
Authors
- George Lemon
Installation
nimble install pexels
choosenim install pexels
git clone https://github.com/openpeeps/nim-pexels
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| pexels | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 2.0.0 | No |
| jsony | - | No |
Source
| Repository | https://github.com/openpeeps/nim-pexels |
|---|---|
| Homepage | https://github.com/openpeeps/nim-pexels |
| Registry Source | nimble_official |
README

👑 Nim library for the Pexels API
nimble install pexels
😍 Key Features
- [x] Search Pexels for photos & videos
- [x] Direct to Object parser
- [x] Written in Nim language
First, create your API key: https://www.pexels.com/api/
Examples
Search for Photos
Search Pexels for any topic that you would like.
import pkg/pexels
let
px: Pexels = newPexelsClient(apikey = "123abc")
pics: PexelsPhotosResponse =
waitFor px.search("cat", perPage = 5)
for pic in pics:
echo pic.src.tiny
Search for Videos
import pkg/pexels
let
px = newPexelsClient(apikey = "123abc")
vids: PexelsVideosResponse =
waitFor px.videos("nature")
for vid in vids:
echo vid
❤ Contributions & Support
- 🐛 Found a bug? Create a new Issue
- 👋 Wanna help? Fork it!
- 😎 Get €20 in cloud credits from Hetzner
🎩 License
Pexels for Nim language | MIT license. Made by Humans from OpenPeeps.
Copyright © OpenPeeps & Contributors — All rights reserved.