Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

Some small API updates



AuthorMessage
Jake

Toodledo Admin
Posted: Aug 11, 2008
Score: 0



A few new things have been added to the API to allow developers to more efficiently use it.

The getAccountInfo API call contains the following timestamps:

lastaddedit : A timestamp that indicates the last time that any task was added or edited on this account. You can quickly check this field to determine if you need to download updates.
lastdelete : A timestamp that indicates the last time that any task was deleted from this account. You can quickly check this field to determine if you need to identify and remove tasks from your application.
lastfolderedit : A timestamp that indicates the last time that a folder was added, edited or deleted. You can quickly check this field to determine if you need to call getFolders to refresh your cached folder list.
lastcontextedit : A timestamp that indicates the last time that a context was added, edited or deleted. You can quickly check this field to determine if you need to call getContexts to refresh your cached context list.
lastgoaledit : A timestamp that indicates the last time that a goal was added, edited or deleted. You can quickly check this field to determine if you need to call getGoals to refresh your cached goal list.

The last three were added today. This should help developers avoid excessive API calls and optimize network traffic.

Thanks


This message was edited Aug 11, 2008.
You cannot reply yet


To participate in these forums, you must be signed in.



Toodledo Forums > Developers