https://github.com/andrewjbateman/python-django-apiview
:clipboard: Displays news data from a REST API built using Python and the Django framework.
https://github.com/andrewjbateman/python-django-apiview
bootstrap bootstrap5 cards django newsapi python python3
Last synced: 3 months ago
JSON representation
:clipboard: Displays news data from a REST API built using Python and the Django framework.
- Host: GitHub
- URL: https://github.com/andrewjbateman/python-django-apiview
- Owner: AndrewJBateman
- Created: 2021-10-10T19:48:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-11T12:08:44.000Z (over 4 years ago)
- Last Synced: 2024-12-27T02:44:49.103Z (over 1 year ago)
- Topics: bootstrap, bootstrap5, cards, django, newsapi, python, python3
- Language: Python
- Homepage:
- Size: 552 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :zap: Python Django APIView
* Displays news data from a REST API built using Python and the Django framework
## :page_facing_up: Table of contents
* [:zap: Python Django API](#zap-python-django-api)
* [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)
* [:books: General info](#books-general-info)
* [:camera: Screenshots](#camera-screenshots)
* [:signal_strength: Technologies](#signal_strength-technologies)
* [:floppy_disk: Setup](#floppy_disk-setup)
* [:computer: Code Examples](#computer-code-examples)
* [:cool: Features](#cool-features)
* [:clipboard: Status & To-do list](#clipboard-status--to-do-list)
* [:clap: Inspiration](#clap-inspiration)
* [:envelope: Contact](#envelope-contact)
## :books: General info
* NewsAPI provides data, based on category or country user inputs
## :camera: Screenshots

## :signal_strength: Technologies
* [Python v3](https://www.python.org/) programming language
* [Django v3](https://www.djangoproject.com/) web framework
* [Bootstrap CDN v5.1.2](https://www.bootstrapcdn.com/) CSS link added to html head
* [Bootstrap v5 cards](https://getbootstrap.com/docs/5.1/components/card/) used to display API data
* [News HTTP REST API v2](https://newsapi.org/docs) used to supply REST data with date in ISO 8601 format.
## :floppy_disk: Setup
* [Install Python](https://docs.python-guide.org/starting/installation/)
* [Install pip](https://docs.python-guide.org/dev/virtualenvs/#installing-pipenv)
* [Install Django](https://docs.djangoproject.com/en/3.1/howto/windows/)
* Install pip modules (?)
* Enter `python manage.py runserver` to run server on port 8000
## :computer: Code Examples
* User selection of category and country code
```html
Country
Search
```
## :cool: Features
* user selection of category or country
## :clipboard: Status & To-do list
* Status: Working
* To-do: Add date formatting, drop down country list or input checking, add language selector
## :clap: Inspiration
* [The Hitchhiker’s Guide to Python!](https://docs.python-guide.org/)
## :envelope: Contact
* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com