JavaScript API Wrapper
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images Added VenueDog logo and ajax loading gif. Apr 17, 2012
.gitignore Added ignore file. Apr 2, 2012
README.md
date.js Added Date.js for easier parsing. Mar 30, 2012
index.html Added Date.js for easier parsing. Mar 30, 2012
index2.html Worked on bugs. Apr 17, 2012
style.css Added files. Mar 28, 2012
venuedog.js Added VenueDog logo and ajax loading gif. Apr 17, 2012

README.md

JavaScript API Wrapper for VenueDog Events API

Find Local Events @ VenueDog. The go-to place for what-to-do.

VenueDog is a simple but powerful answer to the question, "What's Going on?" in a particular city. Through a combination of curated and user-generated listings, VenueDog delivers information about all events in a particular location seachable by date, category, and venue.

We want you to find what you are looking for, discover new things, and share with friends.

Requirements

  • Include jQuery
  • Include Date.js
  • Include venuedog.js

Example Use

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="date.js"></script>
<script src="venuedog.js"></script>


<script>
  $(document).ready(function(){

    // Creates a paginated list with Previous and Next buttons
    $('.events').venuedog({
      categories : "1,2,3,4", 
      paginate   : 7
    });


    // Creates a infinite scrolling list that grows as the user scrolls down
    $('.events').venuedog({
      categories : "1,2,3,4", 
      list_by    : 'day_scroll'
      paginate   : 7
    });

  });
</script>



See in action