Skip to content

Instantly share code, notes, and snippets.

@danyill
Created November 20, 2018 21:15
Show Gist options
  • Save danyill/0a6fe01f7c3d1737912ff9a2d7225c69 to your computer and use it in GitHub Desktop.
Save danyill/0a6fe01f7c3d1737912ff9a2d7225c69 to your computer and use it in GitHub Desktop.
Batch API
https://kokako.cc/w/api.php?action=parsoid-batch&batch=[{"action":"imageinfo","filename":"Script_step2b.png","page":"Modelling_GXP_Parallels_in_PowerFactory","txopts":{"width":1200}}]
{
"parsoid-batch": [
{
"width": 1804,
"height": 770,
"size": 268694,
"mediatype": "BITMAP",
"mime": "image/png",
"url": "https://kokako.cc/w/img_auth.php/4/4f/Script_step2b.png",
"responsiveUrls": {
"1.5": "https://kokako.cc/w/thumb.php?f=Script_step2b.png&width=1800",
"2": "https://kokako.cc/w/img_auth.php/4/4f/Script_step2b.png"
},
"thumburl": "https://kokako.cc/w/thumb.php?f=Script_step2b.png&width=1200",
"thumbwidth": 1200,
"thumbheight": 512
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment