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

https://github.com/adumortier/notifications

Sinatra microservice used along with the GardenThat app, allows the app to interact with the Google Calendar API and send user notifications
https://github.com/adumortier/notifications

google-calendar-api microservice sinatra travis-ci

Last synced: 2 months ago
JSON representation

Sinatra microservice used along with the GardenThat app, allows the app to interact with the Google Calendar API and send user notifications

Awesome Lists containing this project

README

          

### Notification Microservice

This notification microservice is used along with the Gard(in)That app. It allows the app to interact with the Google Calendar API and send notifications to users when they have added plants to their virtual garden.

Gard(in)That app repository:

https://github.com/adumortier/gardenthat

Gard(in)That on Heroku

https://gardenthat.herokuapp.com/

### Notification Microservice Access Points

Retrieve the events from the GardenThatApp calendar:
```sh
GET https://notificationmicroservice.herokuapp.com/events/info?token=&refresh_token=&calendar_name=GardenThatApp
```
Create a new calendar:
```sh
POST https://notificationmicroservice.herokuapp.com/calendar/new?token=&refresh_token=&calendar_name=
```

Create a new event (date format yyyy-mm-dd):
```sh
POST https://notificationmicroservice.herokuapp.com/event/new?token=&refresh_token=&name=&description=&date=

```
Delete an event:
```
DELETE https://notificationmicroservice.herokuapp.com/event/info?token=&refresh_token=&calendar_id=&event_id=
```