Gifs

免费
通过 Igor Zakutynsky | 已更新 a year ago | Video, Images

Gifs 概览

关注者:0
资源:
产品网站
API 创建者:
avatar
Igor Zakutynsky
zakutynsky
给 API 打分:
登录并给 API 打分

README

The gifs.com API makes it dead simple to convert and transcode a vast array of media into our HTML5 optimized gifs.com player, a compressed .gif, .webm and .mp4.

Gifs Package

The gifs.com API makes it dead simple to convert and transcode a vast array of media into our HTML5 optimized gifs.com player, a compressed .gif, .webm and .mp4.

How to get credentials:

  1. Go to your gifs.com API dashboard
  2. Click generate key.

Custom datatypes:

Datatype Description Example
Datepicker String which includes date and time
Map String which includes latitude and longitude coma separated
List Simple array
Select String with predefined values
Array Array of objects

Gifs.importMedia

Gifs support importing the following file mime types: image/gif, video/mp4, video/webm and you can also link directly to a giphy, imgur, gfycat, streamable, instagram, twitter, facebook, or vine web page and we’ll automagically find the best quality file to import.

Field Type Description
apiKey credentials Your API key
source String The source URL of the media to add
title String The title of the media
tags List The tags relating the the media
attributionSite String twitter, reddit, instagram, vine, or a custom URL
attributionUser String Required if isset attributionSite. The username for social media sites
attributionUrl String The url if site != social media

Gifs.uploadMedia

You can upload image/gif, video/mp4, and video/webm media.

Field Type Description
apiKey credentials Your API key
file File The file being uploaded.
title String The title of the media
tags List The tags relating the the media
nsfw Select If the media is not safe for work
attribution_site String twitter, reddit, instagram, vine, or a custom URL
attribution_user String Required if isset attributionSite. The username for social media sites
attribution_url String The url if site != social media
打分:5 - 投票:1