Using API to backup/restore

37 views
Skip to first unread message

Neil Barnwell

unread,
Dec 15, 2009, 6:27:58 AM12/15/09
to checkvist-api
I'm writing a basic C# app to download/backup my checklists.
Checkvist has become totally indispensable and while I trust the
service runs very reliably, I'd not be doing "due dilligence" to my
employer if I lost any data that would impact my work.

So, I almost got it, and while I see the API docs suggest I can create
tasks by supplying the "import_content", I can't see how to download
as OPML? I tried using this URL:

http://checkvist.com/checklists/{0}.opml?export_status=true&export_notes=true&export_details=true&export_color=true

However that URL requires cookies for authentication, and since my app
isn't sending any cookies, it receives the HTML for the logon page
instead.

I've tried the suggested task URLs in the API, but they don't seem to
supply the opml that I would then use to restore from. How can I get
that?

KIR

unread,
Dec 15, 2009, 8:39:09 AM12/15/09
to checkvist-api
Hello Neil,

Actually, Checkvist should accept HTTP basic authentication for your
request. Did you try this?

Regards,
KIR

Neil Barnwell

unread,
Dec 15, 2009, 8:43:37 AM12/15/09
to checkvist-api
Yes, in C# I'm using a NetworkCredential object with my name and
password. This was sufficient for this URL for example:

http://checkvist.com/checklists/ID.xml

...but the same code doesn't work for this URL:

http://checkvist.com/checklists/ID.opml

The second URL works fine in the browser.

KIR

unread,
Dec 15, 2009, 8:54:53 AM12/15/09
to checkvist-api
Please try using HTTP authentication now, I believe I've fixed it.

Neil Barnwell

unread,
Dec 15, 2009, 9:00:29 AM12/15/09
to checkvist-api
You have indeed fixed it - excellent turnaround - thanks!

KIR

unread,
Dec 15, 2009, 9:20:53 AM12/15/09
to checkv...@googlegroups.com
You're welcome :)

2009/12/15 Neil Barnwell <mai...@neilbarnwell.co.uk>:
> --
>
> You received this message because you are subscribed to the Google Groups "checkvist-api" group.
> To post to this group, send email to checkv...@googlegroups.com.
> To unsubscribe from this group, send email to checkvist-ap...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/checkvist-api?hl=en.
>
>
>



--
Kirill Maximov
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Reply all
Reply to author
Forward
0 new messages