WebService::Simplenote - Note-taking through simplenoteapp.com
version 0.2.2
use WebService::Simplenote; use WebService::Simplenote::Note; my $sn = WebService::Simplenote->new( email => $email, password => $password, ); my $notes = $sn->get_remote_index; foreach my $note_id (keys %$notes) { say "Retrieving note id [$note_id]"; my $note = $sn->get_note($note_id); printf "[%s] %s\n %s\n", $note->modifydate->iso8601, $note->title, $note->content; } my $new_note = WebService::Simplenote::Note->new( content => "Some stuff", ); $sn->put_note($new_note);
This module proves v2.1.5 API access to the cloud-based note software at Simplenote.
Will die if unable to connect/login. Returns undef for other errors.
die
undef
Requires the email and password for your simplenote account. You can also provide a Log::Any compatible logger.
email
password
logger
Returns a hashref of WebService::Simplenote::Note. The notes are keyed by id.
Retrieves a note from the remote server and returns it as a WebService::Simplenote::Note. $note_id is an alphanumeric key generated on the server side.
$note_id
Puts a WebService::Simplenote::Note to the remote server
Delete the specified note from the server. The note should be marked as deleted beforehand.
deleted
Setting the environment variables SIMPLENOTE_USER and SIMPLENOTE_PASS will enable remote tests. If you want to run the remote tests MAKE SURE YOU MAKE A BACKUP OF YOUR NOTES FIRST!!
SIMPLENOTE_USER
SIMPLENOTE_PASS
Designed for use with Simplenote:
<http://www.simplenoteapp.com/>
Based on SimplenoteSync:
<http://fletcherpenney.net/other_projects/simplenotesync/>
Ioan Rogers <ioanr@cpan.org>
Fletcher T. Penney <owner@fletcherpenney.net>
This software is Copyright (c) 2021 by Ioan Rogers.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
You can make new bug reports, and view existing ones, through the web interface at https://github.com/ioanrogers/WebService-Simplenote/issues.
The development version is on github at https://github.com/ioanrogers/WebService-Simplenote and may be cloned from git://github.com/ioanrogers/WebService-Simplenote.git
To install WebService::Simplenote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Simplenote
CPAN shell
perl -MCPAN -e shell install WebService::Simplenote
For more information on module installation, please visit the detailed CPAN module installation guide.