The start of the Backpack calendar API Marcel 29 Sep 2006

7 comments Latest by caroline

The Backpack calendar is getting an API. There is more to come, but for now we've started with a simple initial release that exposes three bits of functionality. You can now:

  • list all calendars for an account
  • add events to a calendar
  • fetch a specific event

The documentation for the API can be found at http://backpackit.com/api/calendar. You can play around with the API easily from the command line using a tool like curl.

Listing all your calendars, for example, is as easy as:


curl -H 'X-BP-Token: abcdefghijklmnopqrstuvwxyz0123456789' \
http://your-account.backpackit.com/calendars.xml

Adding a new event to a calendar just requires you specify a calendar_id and a title for the event:


curl -H 'X-BP-Token: abcdefghijklmnopqrstuvwxyz0123456789' \
-d '<request><event>
       <calendar_id>5</calendar_id><title>10/31 Eat candy!</title>
     </event></request>' \
http://your-account.backpackit.com/calendar_events.xml

You can check the documentation for more details. It will tell you what HTTP request method you'll need to use, what paths to make the requests to, and what data, if any, is required.

As usual, we've supplied a simple Ruby client library that uses the API to help you get your feet wet.

It's always neat to see what cool things people build with our APIs. We're looking forward to what comes out of the calendar's. Enjoy!

7 comments so far (Jump to latest)

Weird Mal Crankovic 29 Sep 06

I want a Campfire API!

Daniel Drucker 29 Sep 06

I’m hoping for a Quicksilver module and a Dashboard widget to appear pretty quickly.

pwb 29 Sep 06

Wow, you used the word “elided” in your documentation. Hadn’t heard that one before.

Ali Daniali 29 Sep 06

Thank you!

Now voiceCal for Backpack will integrate much better.

-AD

JF 29 Sep 06

Re: Campfire API. See Marshmallow. We’re using it here and we love it.

Matt Pennig 30 Sep 06

Hello 37signals,

With the addition of the Calendar to the API, can we also expect the addition of multiple lists to the API as well?

It has been one of the most requested features for my Backpack widget, and I’d love to implement it for its users.

caroline 01 Oct 06

URGENT ASSISTANCE NEEDED , PLEASE HELP ME FOR FUTURE INVESTIMENT

FROM : CAROLINE AWANA
COTE D’IVOIRE WEST AFRICA
TELEPHONE : +22508010113
EMAIL ME PRIVATELY VIA;
([email protected])

Dear loved one,

Permit me to introduce my very self to you. In fact I am miss caroline awana the only child of late doctor JOSEPH AWANA who was the director general of cocoa export corporation of Cote D’ivoire and was killed by the rebel forces here in my country cote d’ivoire during a political war at the same time with the former military president General ROBERT GUEI.

While my father was rushed to the hospital unconsious due to the torture and bullet wounds he quickly sent for me as the only born dauther before his untimely death.Meanwhile he told me all about this 10.5 millions US dollars (TEN MILLION FIVE HUNDRED THOUSAND DOLLAS),he deposited here in a bank in Cote D’ivoire for future investiment on my name as next of kin.

I am afraid of my life and the safety of this money is not guaranteed in any way,because the political war that brought the untimely death of my beloved father has not come to end yet.The people who killed my father is in search of me.I ran away to hide somewhere,in one of the private hotel here in my country and not free to move around.

1-Rebels never come in agreement with the existing government .
2-Rebels refused to drop their arms for peace to hold and now the campaign of presidential election, president elect is on couple with the political WAR.

My life and this money is not save if I remain here in my country.This made the Bank director to advice me to look for a GOD fearing and honest foreign partner whom this money can be transfered to his account for investment in his country. PLEASE I want you to assist me get this money transfered to your private nominate bank account in your country and I will travel out of my country entirely to join you immediately,after when my total money is creddited to your bank account and also you shall look for good investment so that I can invest this money wisely and continue my education and life there with you.There will be legal proof in all about this transaction of Transfer to you.

I have agreed to give you 15% of the total amount and extra 1% maped out for any expenses you might make like,telephone calls,e.t.c,during the time of transfer.

Please for the interest of this business transaction contact me through this my private mail address immediately you receive this message for more information to enable me proceed towards concluding the arrangement to transfer this money to your bank account.Finaly I got your email contact through my dilligent search for a trust worthy person to assist me achieve a sustainable future.([email protected])

Your new friend,
MISS CAROLINE AWANA.
THANKS YOU FOR YOUR ASSISTANCE AND MAY GOD BLESS.