Questions tagged [pixabay]

refers to the Pixabay API, which is a RESTful interface for searching and retrieving free images and videos released on Pixabay under Creative Commons CC0.

refers to the Pixabay API, which is a RESTful interface for searching and retrieving free images and videos released on Pixabay under Creative Commons CC0. Further information on the API documentation page: https://pixabay.com/api/docs/

16 questions
2
votes
1 answer

LibGDX Net.HttpRequest Get request is not working

Please check the code below, when I am trying to fetch https://cdn.pixabay.com/photo/2018/04/24/03/22/animal-3346192_150.jpg I am getting a 403 response with the message: error code: 1010 It works when using okhttp3 library Net.HttpRequest…
Ilya Gazman
  • 31,250
  • 24
  • 137
  • 216
1
vote
1 answer

Getting data from REST API using cpprestsdk

I am following Pixabay API documentation to retrieve/download images. I don't have a lot of understanding of URI/REST/HTTP workings but I was able to follow some documentation and get boilerplate code: int main() { auto fileStream =…
0726
  • 315
  • 2
  • 13
1
vote
1 answer

Is there a way to get an image that you search using Pixabay and send it using discord.py?

I am using the Pixabay API to search for an image, then I want my discord.py bot to say it. However, I don't know what function you have to call to be able to get the image so the discord bot can actually send it in an embed. Here is my current…
Oblique
  • 560
  • 1
  • 4
  • 18
1
vote
1 answer

Python requests to Pixabay

I'm trying to send a request to pixabay. Here's my code import requests url = 'https://pixabay.com' header = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.100…
buttercrab
  • 70
  • 2
  • 9
1
vote
0 answers

Pixabay API HTTP redirection and Mixed Content error

When I fetch images from the Pixabay API: fetch(`https://pixabay.com/api?key=${API_KEY}&per_page=7`) I get the Mixed Content error: Mixed Content: The page at 'https://my-page.com/' was loaded over HTTPS, but requested an insecure resource…
soywod
  • 4,377
  • 3
  • 26
  • 47
1
vote
1 answer

Python Pixabay API

I write a script to download the 20000 images from Pixabay using Pixabay API. But the problem arises after scraping the 600th images and shows the following error: "File "c:/Users/Dell/Desktop/python-pixabay-master/python-pixabay-master/main.py",…
Pakshadow
  • 21
  • 4
1
vote
0 answers

Download denied vimeo/pixabay video

I have been using the pixabay api to search for and download selected videos. Lately some if not all of the video downloads are denied. I think it is vimeo doing the dening but I am not sure. One example is…
tlemmons
  • 11
  • 1
  • 2
1
vote
1 answer

How to make image crawler which can download images with their respective URLs

I'm working on a project where I need a dataset of Images available on the Internet and their URLs. For this, I have to download a few thousand no. of images. So, I'm planning to download the images from image hosting sites like…
0
votes
2 answers

ValueError: unknown url type: '/static/img/blank.gif'

import os import sys import urllib.request from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdriver.common.by import By from time import sleep from bs4 import BeautifulSoup keyword = input('검색어 :…
김도열
  • 11
  • 1
0
votes
1 answer

Can I use Pixabay API in My Wallpaper App?

I recently created a wallpaper app. I want to ask, do Pixabay allow to show their photos as wallpaper in a Wallpaper Application. Isn't there any policy restrictions for wallpaper apps in Pixabay. Website: pixabay.com
0
votes
1 answer

Sending subsequent curl requests after receiving response for initial request

Before I write the details, here's what I want to achieve. Search for some images on pixabay (searching for yellow flowers in this case) When I post this query, I will get json array with details of images. Parse the data and store array data. Now…
0
votes
1 answer

discord.py otter command using python-pixabay error

Using python-pixabay I am trying to search for otter images, then get my discord.py bot to send the image in an embed. After I search for the image and get the image, then I print it out, but it doesn't print anything, so I am pretty sure it's a…
Oblique
  • 560
  • 1
  • 4
  • 18
0
votes
0 answers

Draw image to canvas with Pixabay API (Jquery)

The JSFIDDLE Here is my problem: I want to draw the image in the second line of the console when I double click on "Get JSON DATA", in my canvas. I hope that was clear. I think it's a bit difficult... Here is my code :
geen21
  • 21
  • 5
0
votes
1 answer

imagecopyresampled Does not seem to be Executing

I've been held back by this problem for a few days now I have this code which is queried by AJAX with a valid link to a Pixabay Image from their API. This is then resized to 640x420 to fit in image containers around the site. The site resizes it,…
DrYamok
  • 26
  • 1
  • 3
0
votes
1 answer

How to store json data in android for the purpose of offline

My application get JSON data from server. If I use my own json api , data is loaded only in internet connection. But if I use this api (https://pixabay.com/api/?key=5303976-fd6581ad4ac165d1b75cc15b3&q=kitten&image_type=photo&pretty=true), data is…
AnandaLC
  • 43
  • 1
  • 9
1
2