Feedback
It has not been possible to access the required javascript libraries. If the problem persists, contact us with a feedback message.
 
 
 
Add event

Search examples

Events tagged with jazz in the city of Berlin
Events in Berlin in January 2014
Events within 500 km of Berlin
Events on the 31th of January 2014
Events tagged with environment and with conference
Events tagged with mathematics or with philosophy
Events that Amanda intends to attend
Events in which you will meet Amanda
Nearest events to the coordinates 52,13 in the next 2 days

Search examples

Events tagged with jazz in the city of Berlin
Events in Berlin in January 2014
Events within 500 km of Berlin
Events on the 31th of January 2014
Events tagged with environment and with conference
Events tagged with mathematics or with philosophy
Events that Amanda intends to attend
Events in which you will meet Amanda
Nearest events to the coordinates 52,13 in the next 2 days

wikical API

Any search result can be pulled as json, jsonP, XML, YAML, iCalendar and RSS. See the examples below.

We also provide a REST API.

URL example:

http://wikical.com/events/?query=@berlin&view=xml
    

JsonP example:

  1. <html>
  2. <head>
  3. <meta charset="utf-8"/>
  4. <script src="https://code.jquery.com/jquery-3.2.1.js"></script>
  5. </head>
  6. <body>
  7. <script>
  8. jQuery(document).ready( function($) {
  9. var description = "Upcoming events in Berlin";
  10. var query = encodeURIComponent("@berlin");
  11. $('#wikical').append(
  12. '<h3><a href="https://wikical.com/events/?query='+query+'">'+description+'</h3>'
  13. );
  14. $.getJSON('https://wikical.com/events/?query='+query+'&view=json&jsonp=?', function(data) {
  15. $.each(data, function(nr,evento) {
  16. var datefields = evento.upcoming.split('-');
  17. $('#wikical').append(
  18. '<div class="wikical-event">'+
  19. ' <div class="wikical-date">Upcoming: '+
  20. (datefields[2]*1)+'.'+(datefields[1]*1)+'.'+datefields[0]+
  21. ' </div>'+
  22. ' <div class="wikical-title">'+
  23. '<a href="http://wikical.com/'+evento.id+'/">'+evento.title+'</a>'+
  24. ' </div>'+
  25. '</div>'
  26. );
  27. });
  28. });
  29. });
  30. </script>
  31. <div id="wikical">
  32. </div>
  33. </body>
  34. </html>

Perl example:

  1. #!/usr/bin/perl
  2. use strict;
  3. use JSON;
  4. use LWP::Simple;
  5. my $url = 'http://wikical.com/events/?query=%40berlin&view=json';
  6. my $content = get $url;
  7. my $json = JSON->new->allow_nonref;
  8. my $data = $json->decode( $content);
  9. for my $event (@{$data})
  10. {
  11. for my $k (keys %{$event})
  12. {
  13. print "$k:";
  14. if($k eq "fields")
  15. {
  16. print "\n";
  17. for my $subk (keys %{$event->{$k}})
  18. {
  19. print "\t$subk: $event->{$k}{$subk}\n";
  20. }
  21. }
  22. else
  23. {
  24. print " $event->{$k}\n";
  25. }
  26. }
  27. }
  28. print "\n";

PHP example:

  1. <html>
  2. <body>
  3. <?php
  4. $url = "http://wikical.com/events/?query=%40berlin&view=json";
  5. $json = file_get_contents($url);
  6. //var_dump(json_decode($json, true));
  7. $array = json_decode($json, true);
  8. print "<pre>\n";
  9. foreach ($array as $number => $value) {
  10. $fields = $value['fields'] ;
  11. print $fields['upcoming'].' '.$fields['title']."\n";
  12. }
  13. print "</pre>\n";
  14. ?>
  15. </body>
  16. </html>
"{}"