This project is read-only.

App Key

In order to access Nozbe you will need to request a app key.  For details see the Nozbe API site.

Dependencies

Nozbe uses JSON to transmit data so Nozbe.Net uses the excellent Json.NET by James Newton-King.

Building

Nozbe.Net is currently very simple.  One C# source file, and a dependency on Json.NET.  The solution provided is for Visual Studio 2010. 

Powershell

Although I intend to leverage Nozbe.Net from C#, I also wanted to use Powershell.  Here are some examples of the things you can do with Powershell:

Login

add-type -path ".\Nozbe.Net.dll"
$s = new-object Nozbe.Net.Session "myappkey", "myuserkey"

# or

$s = new-object Nozbe.Net.Session "myappkey"

$s.Login("email", "password")

Get all the Nozbe data (except completed projects and tasks)

$d = $s.GetData()

Create a backup

 $s.BackupToDisk($d)

Find Projects without a Tag

$d.project | ? {$_.tag -eq ""}

Find Projects with no Actions

$d.project | % {$p = $_; $t = ($d.task | ? {$_.project_hash -eq $p.hash}); if ($t.count -eq 0) {$p}}      
       
List Project names with number of tasks

$d.project | % {$p = $_; $t = ($d.task | ? {$_.project_hash -eq $p.hash}); "" | select @{Name="Project"; Expression={$p.name}},@{Name="Tasks"; Expression={$t.Count}}}

Last edited Mar 26, 2011 at 8:42 PM by mkoehler, version 3

Comments

No comments yet.