Add basic Pull API support #4

Merged
merged 5 commits into from Jun 26, 2012

Conversation

Projects
None yet
4 participants
Contributor

jshiell commented Jun 26, 2012

This extends the widget base class to allow access to the three HTTP Pull API endpoints (since, timespan, count).

This includes aryrabelo's changes to add support for the Leaderboard widget.

aryrabelo and others added some commits May 29, 2012

@aryrabelo @jshiell aryrabelo x e1d61db
@aryrabelo @jshiell aryrabelo Update README.mdown 71e5008
@jshiell jshiell Fixed typos in README 69a56dc
@jshiell jshiell Added basic pull API support to widgets.
This can be invoked via the last_values/since/timespan methods
on the widgets base class, and uses the Ducksboard HTTP Pull
API.
443e18b
@jshiell jshiell Added Vim swp files to .gitignore ce52ca6

@jhsu jhsu added a commit that referenced this pull request Jun 26, 2012

@jhsu jhsu Merge pull request #4 from jshiell/master
Add basic Pull API support
5e2178a

@jhsu jhsu merged commit 5e2178a into jhsu:master Jun 26, 2012

@oriolgual oriolgual commented on the diff Oct 24, 2012

lib/ducksboard/widget.rb
@@ -2,7 +2,6 @@
module Ducksboard
class Widget
include ::HTTParty
- base_uri "https://push.ducksboard.com/values"
@oriolgual

oriolgual Oct 24, 2012

This breaks all the Push API. The PULL_URI is used at the pull method but the PUSH_URI is not used anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment