Skip to content
Browse files

Create index.php

  • Loading branch information...
1 parent 8b309d5 commit 660f3711a577f46dd8ec982aa879cca684f06841 @mynamavi committed May 7, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 index.php
View
11 index.php
@@ -0,0 +1,11 @@
+<?php
+require 'Meetup.php';
+$meetup = new Meetup(array(
+ 'key' => 'your_api_key'
+));
+$events = $meetup->getEvents(array(
+ 'group_urlname' => 'your_group_name'
+));
+foreach ($events as $event) {
+ echo $event->name . ' at ' . date('Y-m-d H:i', $event->time / 1000) . PHP_EOL;
+}

0 comments on commit 660f371

Please sign in to comment.
Something went wrong with that request. Please try again.