Created
November 4, 2010 20:47
-
-
Save Kieranties/663161 to your computer and use it in GitHub Desktop.
Using Sharpnote.net to connect to Simplenote and return notes from the index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var email = "user@example.com"; | |
var password = "password"; | |
var repo = SharpnoteRepository<Note>.Instance; | |
if (repo.Connect(email, password)) | |
{ | |
repo.GetIndex() | |
.OrderBy(rn => rn.Modified) | |
.ToList() | |
.ForEach(rn => Console.WriteLine(rn.Modified.ToString())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get an exception when running this piece of code :
Cannot parse value: 1289316291.789368 as seconds for DateTimeOffset