aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fetch-comments
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fetch-comments')
-rwxr-xr-xbin/fetch-comments15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/fetch-comments b/bin/fetch-comments
new file mode 100755
index 000000000..4bbcc9d21
--- /dev/null
+++ b/bin/fetch-comments
@@ -0,0 +1,15 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+require 5.8.0;
+
+use FixMyStreet::App;
+
+use Open311;
+use Open311::GetServiceRequestUpdates;
+
+
+my $updates = Open311::GetServiceRequestUpdates->new;
+
+$updates->fetch;