django-rest-framework example
- Converts address to coordinates (latitude,longitude)
- Display results on a static-google-map (no API KEY is required)
- Counts how many visits have been so far on a specific location
based on:
- [Django Rest Framework website] (http://www.django-rest-framework.org/)
- [Real Python Blog] (https://realpython.com/blog/python/django-rest-framework-quick-start/)
- Django > 1.6.6
- djangorestframework
pip install djangorestframework
- geopy 1.10 (Python Geocoding Toolbox)
pip install geopy
- Download the code
- cd .../djrestproj
- run django on your local machine
<your projects folder>/djrestproj$ python manage.py runserver
- open you web browser and enter the following url:
http://localhost:8000