piwigo:接口:获取相册信息和获取相册图片列表信息

 所有接口列表

{
  "result": {
    "methods": [
      "pwg.caddie.add",
      "pwg.categories.add",
      "pwg.categories.delete",
      "pwg.categories.deleteRepresentative",
      "pwg.categories.getAdminList",
      "pwg.categories.getImages",
      "pwg.categories.getList",
      "pwg.categories.move",
      "pwg.categories.refreshRepresentative",
      "pwg.categories.setInfo",
      "pwg.categories.setRank",
      "pwg.categories.setRepresentative",
      "pwg.extensions.checkUpdates",
      "pwg.extensions.ignoreUpdate",
      "pwg.extensions.update",
      "pwg.getInfos",
      "pwg.getMissingDerivatives",
      "pwg.getVersion",
      "pwg.groups.add",
      "pwg.groups.addUser",
      "pwg.groups.delete",
      "pwg.groups.deleteUser",
      "pwg.groups.getList",
      "pwg.groups.setInfo",
      "pwg.images.add",
      "pwg.images.addChunk",
      "pwg.images.addComment",
      "pwg.images.addFile",
      "pwg.images.addSimple",
      "pwg.images.checkFiles",
      "pwg.images.checkUpload",
      "pwg.images.delete",
      "pwg.images.deleteOrphans",
      "pwg.images.exist",
      "pwg.images.getInfo",
      "pwg.images.rate",
      "pwg.images.search",
      "pwg.images.setInfo",
      "pwg.images.setMd5sum",
      "pwg.images.setPrivacyLevel",
      "pwg.images.setRank",
      "pwg.images.syncMetadata",
      "pwg.images.upload",
      "pwg.permissions.add",
      "pwg.permissions.getList",
      "pwg.permissions.remove",
      "pwg.plugins.getList",
      "pwg.plugins.performAction",
      "pwg.rates.delete",
      "pwg.session.getStatus",
      "pwg.session.login",
      "pwg.session.logout",
      "pwg.tags.add",
      "pwg.tags.getAdminList",
      "pwg.tags.getImages",
      "pwg.tags.getList",
      "pwg.themes.performAction",
      "pwg.users.add",
      "pwg.users.delete",
      "pwg.users.favorites.add",
      "pwg.users.favorites.getList",
      "pwg.users.favorites.remove",
      "pwg.users.getAuthKey",
      "pwg.users.getList",
      "pwg.users.setInfo",
      "reflection.getMethodDetails",
      "reflection.getMethodList"
    ]
  },
  "stat": "ok"
}
http://localhost/piwigo/ws.php?format=json&method=pwg.categories.getList
{
  "result": {
    "categories": [
      {
        "comment": "",
        "date_last": "2020-10-09 21:33:40",
        "global_rank": "1",
        "id": 2,
        "id_uppercat": null,
        "max_date_last": "2020-10-09 21:33:40",
        "name": "调皮的当当",
        "nb_categories": 0,
        "nb_images": 15,
        "permalink": null,
        "representative_picture_id": "6",
        "status": "public",
        "tn_url": "http://localhost/piwigo/_data/i/upload/2020/09/17/20200917065204-1628d430-th.jpg",
        "total_nb_images": 15,
        "uppercats": "2",
        "url": "http://localhost/piwigo/index.php?/category/2"
      },
      {
        "comment": "",
        "date_last": "2020-08-11 09:21:24",
        "global_rank": "2",
        "id": 1,
        "id_uppercat": null,
        "max_date_last": "2020-08-11 09:21:24",
        "name": "武功山",
        "nb_categories": 0,
        "nb_images": 2,
        "permalink": null,
        "representative_picture_id": "1",
        "status": "public",
        "tn_url": "http://localhost/piwigo/_data/i/upload/2020/08/11/20200811092121-ce05eadb-th.jpg",
        "total_nb_images": 2,
        "uppercats": "1",
        "url": "http://localhost/piwigo/index.php?/category/1"
      }
    ]
  },
  "stat": "ok"
}

 

http://localhost/piwigo/ws.php?format=json&method=pwg.categories.getImages&cat_id=1

 

{
  "result": {
    "images": [
      {
        "categories": [
          {
            "id": 1,
            "page_url": "http://localhost/piwigo/picture.php?/2/category/1",
            "url": "http://localhost/piwigo/index.php?/category/1"
          }
        ],
        "comment": null,
        "date_available": "2020-08-11 09:21:24",
        "date_creation": "2020-07-11 14:14:56",
        "derivatives": {
          "2small": {
            "height": 240,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092124-dfa391ab-2s.jpg",
            "width": 180
          },
          "large": {
            "height": 756,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092124-dfa391ab-la.jpg",
            "width": 567
          },
          "medium": {
            "height": 594,
            "url": "http://localhost/piwigo/_data/i/upload/2020/08/11/20200811092124-dfa391ab-me.jpg",
            "width": 445
          },
          "small": {
            "height": 432,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092124-dfa391ab-sm.jpg",
            "width": 324
          },
          "square": {
            "height": 120,
            "url": "http://localhost/piwigo/_data/i/upload/2020/08/11/20200811092124-dfa391ab-sq.jpg",
            "width": 120
          },
          "thumb": {
            "height": 144,
            "url": "http://localhost/piwigo/_data/i/upload/2020/08/11/20200811092124-dfa391ab-th.jpg",
            "width": 108
          },
          "xlarge": {
            "height": 918,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092124-dfa391ab-xl.jpg",
            "width": 688
          },
          "xsmall": {
            "height": 324,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092124-dfa391ab-xs.jpg",
            "width": 243
          },
          "xxlarge": {
            "height": 1242,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092124-dfa391ab-xx.jpg",
            "width": 931
          }
        },
        "element_url": "http://localhost/piwigo/upload/2020/08/11/20200811092124-dfa391ab.jpg",
        "file": "IMG_20200711_141455.jpg",
        "height": 5120,
        "hit": 10,
        "id": 2,
        "name": "IMG 20200711 141455",
        "page_url": "http://localhost/piwigo/picture.php?/2",
        "width": 3840
      },
      {
        "categories": [
          {
            "id": 1,
            "page_url": "http://localhost/piwigo/picture.php?/1/category/1",
            "url": "http://localhost/piwigo/index.php?/category/1"
          }
        ],
        "comment": null,
        "date_available": "2020-08-11 09:21:21",
        "date_creation": "2020-07-11 14:14:16",
        "derivatives": {
          "2small": {
            "height": 240,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092121-ce05eadb-2s.jpg",
            "width": 180
          },
          "large": {
            "height": 756,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092121-ce05eadb-la.jpg",
            "width": 567
          },
          "medium": {
            "height": 594,
            "url": "http://localhost/piwigo/_data/i/upload/2020/08/11/20200811092121-ce05eadb-me.jpg",
            "width": 445
          },
          "small": {
            "height": 432,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092121-ce05eadb-sm.jpg",
            "width": 324
          },
          "square": {
            "height": 120,
            "url": "http://localhost/piwigo/_data/i/upload/2020/08/11/20200811092121-ce05eadb-sq.jpg",
            "width": 120
          },
          "thumb": {
            "height": 144,
            "url": "http://localhost/piwigo/_data/i/upload/2020/08/11/20200811092121-ce05eadb-th.jpg",
            "width": 108
          },
          "xlarge": {
            "height": 918,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092121-ce05eadb-xl.jpg",
            "width": 688
          },
          "xsmall": {
            "height": 324,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092121-ce05eadb-xs.jpg",
            "width": 243
          },
          "xxlarge": {
            "height": 1242,
            "url": "http://localhost/piwigo/i.php?/upload/2020/08/11/20200811092121-ce05eadb-xx.jpg",
            "width": 931
          }
        },
        "element_url": "http://localhost/piwigo/upload/2020/08/11/20200811092121-ce05eadb.jpg",
        "file": "IMG_20200711_141414.jpg",
        "height": 5120,
        "hit": 6,
        "id": 1,
        "name": "IMG 20200711 141414",
        "page_url": "http://localhost/piwigo/picture.php?/1",
        "width": 3840
      }
    ],
    "paging": {
      "count": 2,
      "page": 0,
      "per_page": 100,
      "total_count": "2"
    }
  },
  "stat": "ok"
}

 

Piwigo 开源相册系统软件介绍 Piwigo是一个基于MySQL5与PHP5开发的相册系统。提供基本的发布和管理照片功能,按多种方式浏览如类别,标签,时间等。 2.5版本在技术及功能方面均有提升,从全新的图标到群组管理,以及三方认证,诸如:OpenID 或 Wordpress.com。 Piwigo 2.5 数据: 30 新功能, 由百名翻译人员及7名开发人员带来的 900 代码变更, 4种新增语言使 Piwigo 的语言种类增至 51种,8个月的开发时间。 piwogo v2.9.0 beta1 更新日志: 这里是与Piwigo 2.8相比的变化列表。 首先是用户的更改: 现代化的管理页面(颜色,边框更少,更多图标) 重新设计的代码管理器 重新设计的管理主页,即仪表板 用户创建表单上的密码生成器 处理照片时删除相册的选项 下载链接的照片版的页面,管理员 快速链接到您刚刚创建的编辑能力 基于校验和查找重复的照片 ... 然后更多的“技术”变化: dataTables.js更新到1.10版本 改进的历史引擎:更快,并保持历史小 新的“消息”框(蓝色)除了信息(绿色),错误(红色)和警告(黄色) 会话自动删除更频繁 更快地打开用户版盒(在历史中没有搜索“上次访问”) API方法pwg.session.getStatus返回可用照片大小的列表相册可以在列表的底部排序(而不是顶部) Piwigo 开源相册系统页面展示 相关阅读 同类推荐:站长常用源码
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值