Recent Posts by Stickman

Pages: 1 2 3

Sep 3, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Complete n00b here

You are correct.

 
Aug 24, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Add People to Existing Projects

There’s no way via the API (see this list of functions). You could probably do it by faking browser requests—i.e. writing a script that ‘pretends’ to be a browser and submits to the relevant forms. Fiddly, though.

 
Jul 20, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Newbie - help - curl request

The ’/project/list’ part doesn’t go in the request body, it’s the path:

curl -v -H “Accept: application/xml” -H “Content-Type: application/xml” -u username:password http://companyname.clientsection.com/project/list

 
Jul 17, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Create todolist

Yes you can (documentation for Todo Lists here list—note the last two parameters ‘use-template’ and ‘template-id’) but oddly as far as I know there’s no way to retrieve a list of templates so you’d need to discover the template ID by some other method (e.g. manually,through the web interface).

 
Jul 11, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Newbie need help

Either you’re looking for help with Highrise and are therefore in the wrong forum (try this one) or you’re looking at the wrong documentation (try this).

The API is accessed by sending an HTTP request and parsing the response, which comes as XML. Try reading the API docs and coming back with specific questions as they arise.

 
Jun 21, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Any way to grab writeboard content?

There is no currently support for writeboards in the Basecamp API. AFAIK writeboard itself (which is in fact entirely separate from Basecamp) has no API at present.

 
Jun 15, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Getting contacts without company?

That’s an excellent find. I’ll be adding that to my own code.

 
Jun 15, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Getting contacts without company?

First question: no you can’t get a list of contacts without a company ID.

Second question: not sure why you’d get a 403 without seeing details of the request.

 
Jun 15, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / RSS Feed Generation

No, it’s because you’re putting the URL of the request in the body of the request itself.

The string ’/project/list’ is the path of the request you’re making. There no body in a project list request, so it would something like this:

curl -H ‘Accept: application/xml’ -H ‘Content-Type: application/xml’ -u USER:PASSWORD -d ‘’ -L https://BASE_SITE_URL/project/list/

I’ve added the -L because the initial response is a redirect.

 
Jun 13, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / What is the API URL for an account?

Use the base URL for your account, e.g.

http://mycompany.projectpath.com

 
Jun 10, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Auto Populate Milestones

What response/error are you getting?

One thing I notice, I think ‘responsible party’ has to be a person ID (i.e. the ID of a user in your account).

API reference for Milestone creation is here

 
Jun 4, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Get listing of files / messages / projects?

What language will you be using?

 
Jun 4, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Get listing of files / messages / projects?

You can get that information, but only by listing out all messages and looking at their attachments. To do this via tha API, you’ll need to:

  1. list all projects
  2. list all message categories in each project
  3. list all messages in each message category

Because the message list only returns summary details of each message, you’ll probably also need to read each message to get info about attached file (I don’t remember exactly which details are returned).

A message’s URL breaks down like this:

http://[company url]/projects/[project id]/msg/cat/[message category id]/[message id]/comments

 
Jun 4, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Does the API supports Auto-Uploading of Files

Not possible, I’m afraid. Any file you upload must be attached to a message, if not the system will delete it automatically after half an hour or so.

 
May 30, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Basecamp Reporting

The functionality of the API is fairly limited, as it stands: there really is no way at the moment to get around this.

 
May 30, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / sample api

What language are you going to be using? JavaScript isn’t really an appropriate technology for interacting with the Basecamp API.

 
May 28, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Download all data

I’m afraid it’s not possible to limit message comments by date, only time entries (reference ) .

 
May 27, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Does the API supports Auto-Uploading of Files

Here’s a c# API wrapper that should give you some pointers about how to interact with the API. If you have any specific problems with what you’re trying to achieve, feel free to post your questions here.

 
May 27, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Download all data

I’m afraid I can’t think of a way to achieve what you want without following basically the same process as outlined above, although you could limit certain requests by date to reduce the amount of data returned.

 
May 25, 2007
Avatar Stickman 73 posts

Topic: System Announcements / Forum Update

Indeed it does, thanks.

Unfortunately, I just discovered that the forum archive is currently broken (MySQL error).

 
May 25, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Bypassing the basecamp authentication

You can’t do this using the API: as I’m sure you know, each request to the API is a distinct transaction which carries the user’s login details.

however, you could simply ‘fake’ a login request as you’re redirecting the user to Basecamp (for example, using a hidden iframe). A bit fiddly but it should work.

 
May 25, 2007
Avatar Stickman 73 posts

Topic: System Announcements / Forum Update

Looks like the Edit Post link is broken…it just seems to sit there with a bouncing dot…?

 
May 25, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Download all data

To be honest I can’t think how you’d do this without an impractical number of requests to the server. Given the current functions available, you’d have to:

  • list all projects, and for each project:
    • list all messages and for each message
      • list all message comments
    • list all milestones
    • list all todo lists, and for each todo list
      • list all todos
    • list all time entries
    • list all file categories and for each file category
      • list all files

...which would make for a very large number of requests. Remember, part of the terms and conditions of using the API is that you don’t abuse it.

 
May 24, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Making Secured connection in Rails

I know nothing about Rails, but a quick Google search suggests that this has something to do with serialization/caching—i.e. (if I understand it correctly) you’re trying to store the result of the SSL request in a serialized form somewhere, but this class does not support it.

 
May 24, 2007
Avatar Stickman 73 posts

Topic: Basecamp API / Download all data

There is currently no support for requesting an export via the API (see this list of all currently-supported API functions ). To be honest, I don’t really see how you would achieve this in an efficient way using the API.

Next page

Pages: 1 2 3