Welcome to the Programming Meme API! This API provides a collection of humorous programming memes to brighten up your coding sessions. With customizable filtering options, you can easily find memes that match your preferences.
- Retrieve random programming memes
- Filter memes based on dimensions (max-width, max-height, min-width, min-height)
- Simple and intuitive API endpoints
Check the api https://memes.cyclic.app/api
For detailed documentation on how to use the API, please refer to the API documentation. Docs - Swagger UI
- Python
- FastApi
- cyclic.sh
Set server.py
as your entry point.
To get started, clone the repository:
git clone https://github.com/LakhindarPal/programming-meme-api.git
- python 3.10.11
-
Navigate to the project directory.
cd programming-meme-api
-
Install:
bin/install
- creates virtual env
- installs dependencies from
requirements.txt
-
Run:
bin/dev
- runs a
uvicorn
server in reload mode
- runs a
-
Run:
bin/start
- runs a
uvicorn
server
- runs a
The API will now be running locally at http://localhost:8000
.
Schema docs: http://localhost:8181/docs
Test:
curl -i -XGET http://localhost:8181/
Main Api:
curl -i -XGET http://localhost:8181/api
The memes used in this API are collected from this repo. I would like to thank Dipankar Pal for creating that awesome collection.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.
This project is licensed under the MIT License.