Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

addcal

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

addcal

Open-source web application utility for adding calendar events via certain platform API's (Google, etc.)

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

AddCal

Open-source web application utility for adding calendar events via certain platform API's (Google, etc.)

Current API Support

  • Google Calendar API

Pre-requisites

  • Platform-specific API access grants from consuming web apps, specified through configuration options (see below).

Implementation Example

import AddCal from 'addcal';

export class AppComponent {
	private addCal:AddCal;

	public constructor(){
		this.addCal = new AddCal({
			google: {
				apiKey: '<YOUR_API_KEY>',
				clientKey: '<YOUR_CLIENT_ID>'
			}
		});
	}

	public click_addEvent(eventData){
		this.addCal.addEvent('google', eventData)
			.then(() => {
				console.log('The reminder was added!');
			})
			.catch((err) => {
				console.log('There was a problem adding the reminder');
			})
		;
	}
}

FAQs

Package last updated on 13 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc