Party Parrot as a Service
Since Heroku is deprecating their free tier, the API has been migrated to Vercel. The URL changed from https://ppaas.herokuapp.com
to https://partyparrotasaservice.vercel.app/api
(yes, including the /api
part).
Sorry for the inconvenience. (But not quite, let's put all the blame on corporate)
You can use the PPaaS UI to create party parrots in a friendlier manner (see its GitHub repo).
https://partyparrotasaservice.vercel.app/api/partyparrot
You can add an overlay that follows the parrot using the overlay query parameter:
https://partyparrotasaservice.vercel.app/api/partyparrot?overlay=http://i.imgur.com/QJ41dQb.png
The image is not shown because it is too big and is not rendered in the canvas.
To solve this problem, it is possible to adjust it the overlay with the following parameters:
- overlayHeight
- overlayWidth
- overlayOffsetX
- overlayOffsetY
- flipOverlayY (doesn't seem to work at the moment)
- flipOverlayX (doesn't seem to work at the moment)
You can adjust the delay between frames using the delay
query parameter:
https://partyparrotasaservice.vercel.app/api/partyparrot?delay=20
You can set the colors for each frame using the colors
query parameter:
You can change the base parrot using /partyparrot/:baseparrot
.
The list of supported base parrots is in the baseparrots
folder.
Note that the changing the base parrot also supports all the other parameters.
https://partyparrotasaservice.vercel.app/api/partyparrot/rightparrot
For a bigger party:
https://partyparrotasaservice.vercel.app/api/baseparrots returns the list of available parrots.