api.warriordudimanche.net
avatar fancytation gencontent grafit iconeleon mematic momel pix qr textopic thumbme
Je regroupe ici tous les «microservices» API que je fais.
Vous pouvez les utiliser ou les installer sur vos propres serveurs (c'est libre et gratuit).
Pour tout renseignement, vous pouvez me contacter .
howto: use get vars to generate an avatar (once generated, it'll be saved in avatars/ folder)
?str=[string] (required)
?sz= [integer] avatar's size (opt.)
?c1= [string] avatar's color (opt.)
?c2= [string] avatar's background color (opt.)
?style=dot (opt.) square by default Create an image with a citation text
t : text (you can use \n for new line) [ex: t=frist line\nsecond line]
c : text colour in FFFFFF format (shadow text color is automatically set to black or white for readability)
i : background image
f : font used
fs: fontsize in pixels
dontsave: avoid saving rendered picture
force: force the rendering even if the picture already exists (previous rendering)
help: displays this text
version: displays this api's version
imageslist: returns background images list in json format
picslist: returns the rendered images list in json format
&random[=xx]: limit the list getting only xx rendered pictures
fontslist: returns available fonts list in json format
download: downloads the php api file
example: api.warriordudimanche.net/fancytation/?t=lorem ipsum&c=ffffff&fs=64&f=garamond&i=blue Generate json data for your apps
user: return a user
users[=xx]: return xx users (10 by default)
comment: return a comment
comments[=xx]: return xx comments (10 by default)
lorem[=xx]: return a number of sentences (10 by default)
email: return an email adress
emails[=xx]: return an array of email adresses (10 by default)
name: return an name
names[=xx]: return an array of names (10 by default)
phone: return an phone
phones[=xx]: return an array of phones (10 by default)
id: return an id
ids[=xx]: return an array of ids (10 by default)
pic: return a profile picture url
pics[=xx]: return an array of profile picture urls (10 by default)
adress: return a complete adress (street number city zip code country)
adresses[=xx]: return an array of adresses (10 by default)
number[=xx]: return a random numbers (xx is limit, 10000 by default)
numbers[=xx] & nb[=xx]: return an array of random numbers (xx is limit
date: return a random date between ten years ago and now
dates[=xx]: return an array of random date between ten years ago and now (10 by default)
array=keys:values:number : create an associative array using the given format
dates:numbers:100 => array[random_date]=random_number * 100
names:phones:100 => array[random_name]=random_phone * 100
dates:users:100 => array[random_name]=random_user_array * 100
help: displays this text
version: displays this api's version
download: downloads the API zip
Generate svg graphs json data...
This script uses phpGraph.php from my friend JerryWham
data: array of data (sequential or associative)
w,h: width and height (opt.)
color: graph's color in FFFFFF format only (opt.)
lines: set type of graph to line (default type is bars)
filled: set type of graph to filled area (default type is bars)
steps: the steps in the ordinate (by default, it will be calculated)
title: the graphic's title (opt.)
help: displays this text
version: displays this api's version
download: downloads the API zip
Easily use svg icons with custom colours in your webapps.
i: icon name (or first icon containing the string)
c: color in html/css format (FFFFFF, rgba(xxx,xxx,xxx,xxx), blue etc.)
help: displays this text
version: displays this api's version
iconlist: returns icons list in json format
search=[string]: returns a list of the icons containing the string in json format
download: downloads the php api file
Create an meme with a picture url and a text
t : text (you can use \n for new line) [ex: t=frist line\nsecond line]
i : image's URL
white : if specified, sets background color to white and text color to black
bookmarklet: get the bookmarklet
dontsave: avoid saving rendered picture
force: force the rendering even if the picture already exists (previous rendering)
help: displays this text
version: displays this api's version
download: downloads the php api file
picslist: returns the rendered images list in json format
&random[=xx]: limit the list getting only xx rendered pictures
example: api.warriordudimanche.net/mematic/?t=lorem ipsum&i=http://url.fr/picture.jpg Créer une grille simple de mots-mélés (sens horizontal ou vertical)
mots : liste de mots séparés par une virgule
Create placeholder image
w,h : width & height
c : colour in html format (FFF or FFFFFF) [opt] if not specified, color is random
t : text [opt]
help: displays this text
version: displays this api's version
download: downloads the php api file
example: api.warriordudimanche.net/pix/?w=800&h600&c=ffffff returns a qrcode png image
txt: the qrcode content
version: displays this api's version
download: downloads the php api file
example: api.warriordudimanche.net/qr/?txt=loremipsum
uses: http://phpqrcode.sourceforge.net
Create an image with a text (textonly no background picture)
t : text (you can use \n for new line) [ex: t=frist line\nsecond line]
c : text colour in FFFFFF format (shadow text color is automatically set to black or white for readability)
f : font used
fs: fontsize in pixels
vertical: rotate picture to print it as a banner (in thermic little printers ^^)
dontsave: avoid saving rendered picture
force: force the rendering even if the picture already exists (previous rendering)
help: displays this text
version: displays this api's version
picslist: returns the rendered images list in json format
&random[=xx]: limit the list getting only xx rendered pictures
fontslist: returns available fonts list in json format
download: downloads the php api file
Generate and return square thumbnails
&pic=url or path to the pic
&s=size: (default 256)
&download: download the api script
&help: display this help