watchasfen.blogg.se

Ticktick api
Ticktick api









ticktick api

Once that's saved, we're ready to test it out!

ticktick api

Set the method to POST, and the Content Type to application/json.įinally, for the body, we're going to create a JSON string that will also contain data from our TickTick to-do item, pulled in automatically with the help of IFTTT.Īll of these form fields should look like the screenshot below: The URL is going to be one of the ones returned to us by serverless earlier, and should end in just /dev/todos. On this page, we're going to add in all of the details for the web request. Select the Webhooks service, and on the following page choose the only action available, Make a web request. Hit create, and we're brought back to the Applet creation screen for the TT in IFTTT. Me personally, I'm using the Inbox list, with all tags and any priority, so it looks like this: On the next screen, you'll determine if you want to limit this by only firing on select task lists, tags, or priorities. But for this first one, select New task created. You're presented with two possible triggers, of which we're going to use both. This is going to function as the tie between TickTick and our newly-created API.Ĭreate a new Applet, and for the service select TickTick. Okay, let's head over to IFTTT and either create or sign in to your account. If so, we're on the right track, and we can move on to getting data from TickTick into it. Note: If you get an error back about AWS provider credentials not being found, follow this guide to set them up in order to work with your serverless CLI app.Īlright, so now you should be able to visit your API endpoint at, and as of right now it should be returning back an empty array. Go ahead and open up a terminal or command prompt window, and run the following command to get the serverless app installed:Įnter fullscreen mode Exit fullscreen mode We'll be loosely following this tutorial to create our serverless AWS API. Unless you're going to be using this API every minute, you shouldn't incur any direct costs.Įverything we need to do in order to set up these three services is going to be handled through the command line using the serverless app.

TICKTICK API FREE

  • DynamoDB for being the NoSQL database storing our todo itemsĪll of these services have generous free usage tiers that don't expire.
  • API Gateway for creating our endpoints and connecting them to our Lambda instances.
  • Lambda for processing incoming data from our API endpoints and sending it to/getting it from our database.
  • This is what will end up powering our actual API, using the following services: Here's how I did it, and how you can too.įirst thing's first, if you haven't already, sign up for an Amazon AWS account. Lo and behold, they did! So my plan started coming together. But then I remembered IFTTT exists, and decided to see if they happened to have a trigger for tasks from TickTick. I thought I'd just go the brute force method and use something like Puppeteer to sign in to the app and scrape out any data I could. So, I started digging around trying to find my own way. I get it though, pushing new features to production takes time, but that was time that I didn't want to wait. But as of the writing of this article, they do not have one available to the public. It seems like it's an item that has been requested a few times, and currently seems to be an item that they're working on. I had been thinking about moving away from the last app that I used, and the fact that they have a built-in Pomodoro timer solidified the switch for me and I haven't looked back. On the program's startup, I was calling an API to grab my to-do list and store the items in an array, then cycling through each to display on my screen.Ī problem came up when after the New Year I switched services to TickTick. Over the past couple of months I've been experimenting with a little hardware project, the goal being to display a current to-do item I'm focusing on through an e-ink screen using a Raspberry Pi.

    ticktick api

    It was built for a very simple purpose of mine, but depending on your use case, it could be perfect for you as well. The free tiers of both of these services is all that's required to get your personal API running, so this doesn't cost a single cent.ĭisclaimer: This is not intended to replace a full-featured API and only works for your own TickTick account. However, it is required that you have accounts for both, and recommended that you've at least played around with both of them a little bit. This article doesn't expect you to have any in-depth familiarity with AWS or IFTTT.











    Ticktick api