Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tunefish_client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tunefish_client

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Tunefish Client

A client for the Tunefish RESTful API. Tunefish is a music aggregation service that lets users link accounts from services like Soundcloud and Youtube, and populates an activity feed with relevant new music. "Activities" are either youtube videos, soundcloud tracks, or tweets with the hashtag "#tf". The Tunefish API currently supports users and activities. You can find:

  • All activities
  • Activities for a given user
  • All users
  • Information for a specific user

Installation

Add it to your Gemfile:

gem 'tunefish'

Bundle:

$ bundle

Or install it yourself as:

$ gem install tunefish

Usage

Instantiate a new client specifying the API version like so:

require 'tunefish_client'

client = TunefishClient::Client.new(version: "v1")

# retrieve a list of user objects
client.users

# retrieve a single user's information
user_id = 1
client.user(user_id)

# retrieve a list of activities
client.activities

# retrieve a list of activities for a given user
user_id = 1
client.user_activitites(user_id)

FAQs

Package last updated on 13 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc