Awesome
movie-quote
a api made with django rest framework serve movie and series quotes. you can find the api Here.
Run locally
Linux
git clone https://github.com/F4R4N/movie-quote.git
apt install python3
cd movie-quote
python3 -m venv venv
source venv/bin/activate
mv sample.config.py config.py
(change settings based on your usage)python3 manage.py migrate
python3 manage.py runserver
- open browser in 127.0.0.1:8000
Windows
git clone https://github.com/F4R4N/movie-quote.git
or download directly- install python3
cd movie-quote
python -m venv venv
venv\Scripts\activate
move sample.config.py config.py
(change settings based on your usage)python manage.py migrate
python manage.py runserver
- open browser in 127.0.0.1:8000
Usage
use the following path's to get the quotes.
/v1/quote/
get a random quote each time, from all quotes.
/v1/quote?censored
don't show quotes which contain adult language.
/v1/shows/<show_slug>
you can get a random quote from the desired show. you can find list of show's slug in https://movie-quote-api.herokuapp.com/v1/shows/.
/v1/shows/
get list of available shows slugs.
make this repo better
feel free to open issue
or pull request
I am trying to make repo better and this will help me.
deployment
main
branch of this repository will automatically deploy on Heroku.