Api for Quotes of various web-series. Api automatically generate quotes with background image. Api also returns the Quotes and its author as json.
This API is currently hosted on Heroku.
https://web-series-quotes.herokuapp.com- Available Various Web-Series
- Quotes data as json API
- Generates Quote images
https://web-series-quotes.herokuapp.com/generate/{image or blank}- Use endpoint
imagefor image as background - Use endpoint
blankfor colored background
| Endpoint | Parameter | Explanation |
|---|---|---|
| image |
|
|
| blank |
|
|
You can easily generates the quote images using in-build images.Uses the name of the image in the srcparameter in the endpoint. Use colors from here.
Endpoint:
/generate/{series_name}/{quote_id}/image?src={name_of_image}&size={font_size}&color={font_color}Example:
https://web-series-quotes.herokuapp.com/generate/breakingbad/1/image?src=breakingbad&size=150&color=pinkIf you don't like the the in-build images. You can use your own images as src parameter. You can provide the link of the image in src parameter.
Endpoint:
/generate/{series_name}/{quote_id}/image?src={url_of_your_image}&color={font_color}&size={font_size}Example:
https://web-series-quotes.herokuapp.com/generate/moneyheist/5/image?src=https://www.gstatic.com/webp/gallery/3.png&color=yellow&size=100No images, Don't worry you can use color as a image background with custom width and height.
Endpoint:
/generate/{series_name}/{quote_id}/blank?fore={foreground}&back={background}&size={font_size}&x={width}&y={height}Example:
https://web-series-quotes.herokuapp.com/generate/dark/25/blank?fore=black&back=yellow&size=300&x=3000&y=2000If you don't like any quotes, you can use own text and own images or any custom colored backgrounds.
Endpoint:
/generate/image?src={url_of_image}&color={font_color}&size={font_size}&text={your_text}&x={width}&y={height}Example:
https://web-series-quotes.herokuapp.com/generate/image?src=https://www.gstatic.com/webp/gallery/1.png&color=yellow&size=100&text=Hello+world

