Giter VIP home page Giter VIP logo

google-calendar-django-rest-api's Introduction

Google Calendar Django REST API

Implementing Google Calendar API with Django Rest Framework. It uses 0Auth2 mechanism for authorisation to get users calendar access. It gets all the events from the users calendar.

Get Stated with Google Calendar https://developers.google.com/identity/protocols/oauth2/web-server#libraries

Installing

  1. Clone the repo

    git clone https://github.com/AJ-Walker/Google-Calendar-Django-REST-API.git 
    
  2. Create virtual environment

    # On Linux/Mac
    python3 -m venv venv
    
    # On Windows
    python -m venv venv
    
  3. Activate virtual environment

    # On Linux/Mac
    source venv/bin/activate
    
    # On Windows
    venv\Scripts\activate
    
  4. Install Packages for running this API

    pip install -r requirements.txt
    

Executing the API

  1. Open a terminal or command prompt (cmd)

    python manage.py runserver 
    

API Documentation

Get Users Calendar Events

Asks for Authorisation and redirects to '/rest/v1/calendar/redirect'

  • URL

    /rest/v1/calendar/init

  • Method:

    GET

google-calendar-django-rest-api's People

Contributors

aj-walker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.