

随机动漫壁纸
source link: https://paugram.com/help/wallpaper
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
欢迎前往仓库 Anime-Wallpaper 提交 PR,增加此 API 的资源~ 提交的 Commit 说明上最好带上对应角色的来源!
Add 5 Images
增加了《轻音少女》阿梓喵、《原神》可莉的图片
使用方法:
调用地址 https://api.paugram.com/wallpaper/
可自动跳转到对应的壁纸(由于运营成本限制,目前本 API 借助 图床/CDN 等平台托管图片。欢迎给予资源赞助~)
如果您已开始使用本 API 服务,则默认视为遵守 本约定。
图片版权归原作者所有,本站不为滥用本 API 进行违规操作者承担责任。
sm
cp
sina
paul
图片源,如留空则默认采用 sm.ms 源
category(施工中)
us
jp
cn
图片分类,可按不同国家和类别选择
图片分类(施工中):
使用 sm.ms 图片源
https://api.paugram.com/wallpaper/?source=sm
使用新浪图片源,并选择美漫图片分类
https://api.paugram.com/wallpaper/?source=sina&category=us
在网页背景上使用本 API
body{
background: url("https://api.paugram.com/wallpaper/") center/cover no-repeat;
}
在网页背景上使用本 API(伪元素半透明版)
body:before{
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: .3;
z-index: -1;
content: "";
position: fixed;
background: url(https://api.paugram.com/wallpaper/) center/cover;
}
使用 img
标签引用图片
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK