We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: listSingleEvents -{"origin":"Events.list","error":{"statusCode":"400(Bad Request)","errorBody":"<HTML>\n<HEAD>\n<TITLE>Bad Request</TITLE>\n</HEAD>\n<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">\n<H1>Bad Request</H1>\n<H2>Error 400</H2>\n</BODY>\n</HTML>\n"}}
`const CONFIG = require('./settings.js'); const CalendarAPI = require('node-google-calendar'); let cal = new CalendarAPI(CONFIG);
let params = { singleEvents: true, orderBy: 'startTime' }; //Optional query parameters referencing google APIs
cal.Events.list(CONFIG.calendarId, params) .then(json => { //Success console.log('List of events on calendar within time-range:'); console.log(json); }).catch(err => { //Error console.log('Error: listSingleEvents -' + err.message); });`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error: listSingleEvents -{"origin":"Events.list","error":{"statusCode":"400(Bad Request)","errorBody":"<HTML>\n<HEAD>\n<TITLE>Bad Request</TITLE>\n</HEAD>\n<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">\n<H1>Bad Request</H1>\n<H2>Error 400</H2>\n</BODY>\n</HTML>\n"}}
`const CONFIG = require('./settings.js');
const CalendarAPI = require('node-google-calendar');
let cal = new CalendarAPI(CONFIG);
let params = {
singleEvents: true,
orderBy: 'startTime'
}; //Optional query parameters referencing google APIs
cal.Events.list(CONFIG.calendarId, params)
.then(json => {
//Success
console.log('List of events on calendar within time-range:');
console.log(json);
}).catch(err => {
//Error
console.log('Error: listSingleEvents -' + err.message);
});`
The text was updated successfully, but these errors were encountered: