116 points · by mikaelcarlavan · 5y ago · 84 comments
Maybe that's being developed, but the American date format with no timezone being described as "English textual" (say what?!) seems to be ignoring all the standards for date and time (eg. RFC3339[1]), yet other parts of the docs clearly show awareness of RFCs!
If you're pushing events to people, presumably you know exactly when they're going to happen, but with this API you're saying "here's an event, just pick your own timezone!"
Nice idea though, it'll be interesting to see how it develops.
9.00 PM is very clear to mean 21.00 in 24H format. What isn't clear is if 9.00 is 12H or 24H format. 9.00 AM or 9.00 PM is. However if you may reasonably assume the user uses 24H format, it is clear. It always takes up less space to use 24H format, though 12H format is always clear. Except for TZ (timezone), both all time suffers from that.
[EDIT]Oops I messed up, and that's why I dislike these and prefer ISO8601. Although one nice thing about DD/MM/YYYY is that its little endian (which is easy to remember for laymen as going from small to big). Keeping rest of comment as is.[/EDIT]
You made a cool thing. Charge for it.
I’m saying weigh your conversions. Your comment suggests to discount freeloaders entirely.
Feel free to ask any questions.
My first reaction was ‘this sounds like it might be useful’ but I’ve read the copy and I still don’t fully grok where I would use it effectively.
Having the curl example is good, but I feel like a few example workflow diagrams that show some cool things you build with it would be useful.
Say you had a CRM app where you wanted to let users schedule sales appointments. You could use this API to send the events.
[0] https://github.com/jaredlt/add_to_calendar
[1] https://github.com/InteractionDesignFoundation/add-event-to-...
https://github.com/InteractionDesignFoundation/add-event-to-...
(There also is outdated pricing information in your docs)
One thing that would make this really useful is a frontend widget that abstracts away many of the common complexities that arise and right now still have to be learned by everyone using this API. E.g. learning how to correctly construct recurring events and implementing a minimal UI for it would still be a pain even with this API. Algolia and their instantsearch.js (and React, etc.) packages are a great example for that where you get the faceting display logic for free.
curl https://convier.me/api/event \ -H 'Authorization: Bearer YEAH_SURE...' \ -d 'event[start][date]=05/26/2019 08:00 PM' \ -d 'event[end][date]=05/26/2019 11:00 PM' \ -d 'event[organizer][name]=Tony Stark' \ -d 'event[organizer][email]=ironman@avengers.com' \ -d 'event[summary][text]=Endgame premiere' \ -d 'event[description][text]=Bring the popcorn.' \ -d 'event[attendees][0][email]=MY_EMAIL'
(with API Token and email filled in of course) gives me
HTTP/1.0 402 Payment Required Cache-Control: no-cache, private Content-Type: application/json Date: Sat, 09 Jan 2021 12:52:48 GMT
{"error":true,"message":"SQLSTATE[42803]: Grouping error: 7 ERROR: column \"activities.created_at\" must appear in the GROUP BY clause or be used in an aggregate function\nLINE 1: ...NTH FROM created_at) as month, EXTRACT (YEAR FROM created_at...\n
I love the idea of a calendar API (another example is Nylas - https://www.nylas.com/products/calendar-api/) b/c it means I could build for EVERYONE and not just a gsuite specific app (which is what I tend to do for simplicity of APIs). The problem I've seen with these is an inability to grow / monetize at the rate startups need to, and, while I love this, things I'm curious about are:
1. How big is this market?
2. Has anyone innovated on pricing here?
3. Are there really well-adopted calendar APIs you need to design for other than Exchange and GSuite?Congrats on shipping!
Agree with above comments about price point being high. $9/month is high given the 500 requests limit per month
2) Timezone and localization support has to be spot-on, and right upfront. Might I suggest having the backend only speak UTC and the frontend has a thin layer of JS that turns all UTC into the local browser time in the onload- This design worked for me in a recent app.
What would make me definitely use this are frontend components too, like a calendar component (e.g. Vuetify's one), or especially a Calendly-like self-scheduler like the ones offered by Nylas or Kloudless, but at that point it's basically a totally different product.
But for the Node package you mentioned, you are absolutely right.
For context, we use this in production: https://www.npmjs.com/package/ical-generator, but again that's NodeJS