salvoventura / pypexels

An open source Python wrapper for the Pexels REST API https://www.pexels.com/api/.
MIT License
73 stars 15 forks source link

Video support #5

Closed DavidM42 closed 4 years ago

DavidM42 commented 5 years ago

The api documentation also lists support for features on video clips. I looked through the pypexels documentation and couldn't find any reference to video content. Is anything concerning video planned or not yet?

salvoventura commented 5 years ago

Thanks for bringing this up. I have tried those API calls, but they are returning 403 - "Access to this API has been disallowed". I have an open inquiry with the API support team at Pexels before proceeding.

DavidM42 commented 5 years ago

You're right. That's very strange. I just tried it too and for me the popular videos and search videos api endpoints work as intended but getting a single video via https://api.pexels.com/v1/videos/videos/:id produces { "error": "Requested endpoint is forbidden" }

salvoventura commented 5 years ago

I am still waiting for an answer from the API support team at Pexels. I emailed them again yesterday. If you happen to have a working example, I would like to compare your settings with mine.

ricard-inho commented 4 years ago

Do you know if the videos work as today?

salvoventura commented 4 years ago

Hello, they don't at the moment: I just discovered my testing API KEY has been changed, hence I wasn't able to access video for testing. I have now access. I'll be working on adding video support to the library starting today. Stay tuned for updates, it may take a few days.

Cheers!

ricard-inho commented 4 years ago

Sounds great!

salvoventura commented 4 years ago

Release 1.0.0rc1 is now available, and has Videos API support.

Cheers!