0.0
No commit activity in last 3 years
No release in over 3 years
Ruby client for the AudioVision API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

 Project Readme

AudioVision

Build Status

This is a simple Ruby client for the AudioVision API. Documentation for the AudioVision API can be found here.

Installation

Add this line to your application's Gemfile:

gem 'audio_vision'

Usage

Posts

# Find by ID
AudioVision::Post.find(109)

# Find by URL
AudioVision::Post.find_by_url("http://audiovision.scpr.org/319/public-square-thankful-for")

# Find Collection - all parameters are passed directly to API
AudioVision::Post.collection(limit: 10, query: "Los Angeles", category: "video")

Billboards

# Find by ID
AudioVision::Billboard.find(4)

# Get the current Billboard
AudioVision::Billboard.current

# Get all Billboards
AudioVision::Billboard.collection

Buckets

# Find by UUID (key)
AudioVision::Billboard.find("featured-posts")

# Get all Buckets
AudioVision::Bucket.collection

Contributing

Fork it, fix it, send a PR. bundle exec rspec to run tests.