Skip to content
PHP Example showing how to import into a Basecamp To-Do list
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This project is an example which shows how you can transfer information into a Basecamp To-do list.

The reason this exists is I was working on a project where the project manager had a huge list inside of a Google Share Doc. We decided to move to Basecamp and needed a way to get that information out of Google and into Basecamp.

The first thing I found was a library that allows you to talk to Basecamp using PHP. It is called basecamp-php-api and is available at:

You can download the latest from that location. I've included the files for this example here in the lib directory.

This project is meant only to be an example. It works but doesn't have error checking or fancy command line processing. It is offered in hopes that someone else may find it useful. After I wrote this I was certainly was happy to have it to get things into Basecamp easily.

To use the script as is you'll need the following:

1. Your basecamp project url. Something like
2. Your basecamp username and password
3. The To-Do list id for the list you want to insert into (Right click on the list name and its the number at the end of the url
4. A csv file with the data you want to insert. For this example, the script reads the first column

Then cd into src and enter the above as parameters to main.php

$ php -e main.php USERNAME PASSWORD 15358056 test.csv 

Something went wrong with that request. Please try again.