icloud-calendar
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

icloud-calendar

Connects to the iCloud API and retrieves Calendar data

Installation

$ npm install icloud-calendar

usage

const username = '[apple_id]';
const password = '[apple_id_password]';
 
const calendar = new ICloudCalendar();
calendar.login(username, password).then(resp => {
    calendar.getEvents(LanguageLocales["en-US"], TimeZones["America/New_York"], '2020-01-01', '2020-01-07').then(calendars => {
        console.log(calendars);
    }).catch(err => {
        console.error(err);
    });
}).catch(err => {
    console.error(err);
});

License

MIT

Package Sidebar

Install

npm i icloud-calendar

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

82.4 kB

Total Files

35

Last publish

Collaborators

  • spmihai