rpawk / image_downloader

Download images from stock image sites (Pexels, Pixabay)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Downloader

Download photos and videos from Pexels and Pixabay

You need Pexels and Pixabay api keys.

Examples

from pexels import Pexels

p = Pexels(api_key="your_pexels_api_key")

query = 'nature'
num = 3

p.get_photo(query, num)
p.get_video(query, num)
from pixabay import Pixabay

p = Pixabay(api_key="your_pixabay_api_key")

query = 'nature'
num = 3

p.get_photo(query, num)
p.get_video(query, num)

Dependency

  • requests

About

Download images from stock image sites (Pexels, Pixabay)

License:MIT License


Languages

Language:Python 100.0%