An open API service indexing awesome lists of open source software.

https://github.com/andrewjbateman/django-google-api

:clipboard: Django Python app to interact with a range of Google APIs
https://github.com/andrewjbateman/django-google-api

css3 django google-api maps-api python3 recaptcha-v3

Last synced: 2 months ago
JSON representation

:clipboard: Django Python app to interact with a range of Google APIs

Awesome Lists containing this project

README

          

# :zap: Django Google API

* Python and the Django framework used to access Google APIs - not working as yet. Google API setup is more complex than shown in tutorial
* Tutorial code from [FreeCodeCamp.org: Python Django and Google APIs - Project Tutorial](https://www.youtube.com/watch?v=_vCT42vDfgw&t=126s)
* **Note:** to open web links in a new window use: _ctrl+click on link_

## :page_facing_up: Table of contents

* [:zap: Django Google API](#zap-django-google-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)
* [:file_folder: License](#file_folder-license)
* [:envelope: Contact](#envelope-contact)

## :books: General info

* [Python Models](https://docs.djangoproject.com/en/dev/topics/db/models/) used as the source of information about data
* [Django ModelSerialisers](https://www.django-rest-framework.org/tutorial/1-serialization/) REST framework includes both Serializer classes, and ModelSerializer classes.
* [Django REST framework Mixin](https://www.django-rest-framework.org/api-guide/generic-views/#mixins) classes used to provide basic view behaviour.
* [Django REST framework Viewsets](https://www.django-rest-framework.org/tutorial/6-viewsets-and-routers/) used to allow the URL construction to be handled automatically
* [JS toast notifications](https://github.com/CodeSeven/toastr) - [Demo site](https://codeseven.github.io/toastr/demo.html)

## :camera: Screenshots

![screen print](./imgs/signup.png)

## :signal_strength: Technologies

* [Python v3](https://www.python.org/) programming language
* [Django v3](https://www.djangoproject.com/) web framework
* [Django Rest Framework v3](https://www.django-rest-framework.org/) powerful and flexible toolkit for building Web APIs
* [Google Recapture API](https://developers.google.com/recaptcha) that uses advanced risk analysis techniques to tell humans and bots apart.
* [Google Places API](https://developers.google.com/maps/documentation/places/web-service/overview) to return information about places using HTTP requests.
* [Google Maps API](https://developers.google.com/maps) to show maps of user planned trip etc.

## :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.2/howto/windows/)
* Add code - ref tutorial
* Enter `python manage.py runserver` to run server on port 8000

## :computer: Code Examples

* tba

```python

```

## :cool: Features

* tba

## :clipboard: Status & To-do list

* Status: Part working. Sign-in and sign-up screens appear. Possible issue with Captcha allowed domains config.
* To-do: To be completed

## :clap: Inspiration

* [FreeCodeCamp.org: Python Django and Google APIs - Project Tutorial](https://www.youtube.com/watch?v=_vCT42vDfgw&t=126s)

## :file_folder: License

* N/A

## :envelope: Contact

* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com