不一样的随机图片API

分享 173 字 3207 阅

5b583df781642.jpg
5b583df781642.jpg

为什么说是不一样的随机图片API呢?

以本站为例,当你用手机访问本站时,本站背景随机图片则显示手机墙纸图片,当你电脑访问时则背景显示电脑墙纸图片,很不一样吧

当手机端访问自动采用手机端墙纸,当电脑端访问自动采用电脑端墙纸

API基本调用格式:

https://acg.toubiec.cn/random

参数:

type=json

JSON调用格式

https://acg.toubiec.cn/random?return=json

JSON数据

{
    "code":"200"#图片状态码     "acgurl":"https:\/\/ws1.sinaimg.cn\/large\/0072Vf1pgy1foxkfy08umj31kw0w0nng.jpg"#图片地址     "width":"2048"#图片宽     "height":"1152"#图片高 }

转自@顾轩

- THE END -
0 分享
评论 ( 164 )
OωO
开启隐私评论,您的评论仅作者和评论双方可见
  1. 샌즈카지노
    샌즈카지노

    Hello, vividly description of your context are so nice. You really meant it. I like your style. 바카라카지노

    3月17日 回复
  2. sling tv

    Awesome things here. I am very happy to see your article.
    Thank you a lot and I'm having a look forward to touch you.
    Will you kindly drop me a e-mail?

    2020年01月19日 回复
  3. sling tv

    When someone writes an paragraph he/she keeps the plan of a user in his/her brain that how
    a user can know it. Thus that's why this paragraph is outstdanding.
    Thanks!

    2020年01月18日 回复
  4. sling tv

    Oh my goodness! Incredible article dude! Thank you so much, However I am having troubles with your RSS.
    I don't know why I am unable to join it. Is there anyone else getting identical RSS issues?
    Anybody who knows the answer will you kindly respond? Thanx!!

    2020年01月18日 回复
  5. sling tv

    We're a group of volunteers and starting a new scheme in our community.
    Your web site offered us with valuable information to work on. You've done a formidable
    job and our whole community will be thankful to
    you.

    2020年01月17日 回复
  6. sling tv

    What's up i am kavin, its my first time to commenting
    anyplace, when i read this post i thought i could also create comment due to this
    sensible paragraph.

    2020年01月17日 回复
  7. sling tv

    Pretty! This was a really wonderful article. Thank you
    for providing this information.

    2020年01月15日 回复
  8. sling tv

    I'm not sure exactly why but this blog is loading extremely slow
    for me. Is anyone else having this problem or is it a problem on my end?
    I'll check back later and see if the problem still exists.

    2020年01月15日 回复
  9. sling tv

    I think the admin of this web site is truly working hard
    in favor of his site, because here every stuff is quality based material.

    2020年01月15日 回复
  10. sling tv

    Hi there to every body, it's my first pay a quick visit of this weblog;
    this blog consists of remarkable and in fact fine
    information designed for visitors.

    2020年01月14日 回复